Search:

Type: Posts; User: Aberto

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    1,492

    Re: Granting mysql privleges in phpmyadmin

    If you are in a shared hosting environment, you most likely do no have access to issue GRANT statements or modify the SQL user in any way at all... When you connect to a MySQL server, the host from...
  2. Replies
    3
    Views
    850

    Re: Mysql dumpdatabase command

    Usually you run mysqldump to create database copy: $ mysqldump -u user -p db-name > db-name.out

    Copy db-name.out file using sftp/ssh to remote MySQL server: $ scp db-name.out user@site...
  3. Replies
    5
    Views
    2,543

    Re: How to allow remote connection to MySQL

    All you need to do is specify remote mysql host with –h option. For example to connect remote mysql server called server1.test1.com you need to type command as follows

    $ mysql –u ruchi –h...
  4. Replies
    5
    Views
    1,240

    Re: Find and Replace in JavaScript String

    function replace( str, from, to ) {
    var ix = str.indexOf( from );


    while ( ix > -1 ) {
    str = str.replace( from, to );
    ix = str.indexOf( from );
    }

    return...
  5. Replies
    5
    Views
    1,314

    Re: Two Dimensional Arrays in JavaScript

    The JavaScript reference specifies a one-dimensional array.Two-Dimensional Arrays in JavaScript are constructed when the inner array is created first and then, using this initial array, the outer...
  6. Replies
    7
    Views
    1,041

    Re: Css padding in html

    The padding can be set using the tag "padding".It takes the following values.Each HTML element actually has 4 different paddings: top, right, bottom, and left. a)20px : This will set a padding of...
  7. Replies
    5
    Views
    698

    Re: CSS background position

    The background-position CSS property sets the initial position of any background image that has been set that means the background-position property sets the starting position of a background image....
  8. Replies
    5
    Views
    2,069

    Re: VBScript DateDiff Function

    VBScript DatePart Function : the DatePart function to extract the various parts of the original date (no need for the minutes and seconds). The DateAdd function returns a date, it's very useful,...
  9. Replies
    3
    Views
    820

    Re: Flash ActionScript loops

    function chArr(arrayc:Array, arrayd:Array):void {
    for(var g=0, k=0; (g<arrayc.length-1) || (j<arrayd.length-1); g++, jk++) {
    if(arrayc[g]==arrayd[j]){
    trace("elements c["+g+"]...
  10. Replies
    3
    Views
    535

    Re: Search character in a string

    #include <string>
    #include <iostream>
    int main() {
    string d = "This is the string which is to be search";
    cout << d << "\n";
    int start = d.find("old");
    int leng = string("old").size();...
  11. Replies
    4
    Views
    734

    Re: Pointer parameter in a function

    Try this example :

    #include <stdio.h>

    void print_vertical(char *strl);
    int main(int arc, char *argv[])
    {
    if(arc > 1) print_vertical(argv[2]);

    return 0;
  12. Replies
    3
    Views
    722

    Re: Passing arguments to a function

    Call by value :

    void called_func(int, float);

    main(){
    called_func(2, 2*3.5);
    exit(EXIT_SUCCESS);
    }

    void
  13. Replies
    3
    Views
    3,065

    Re: Convert an int to QString

    #include <qlineedit.h>
    #include <qcombobox.h>

    ae::ae(QWidget* parent, const char* nm, WFlags fd)
    : Form1(parent,nm,fd)
    {}

    ae::~ae()
    {}
    void ae::ae()
  14. Replies
    3
    Views
    832

    Re: Find date in java

    import java.util.Calendar;

    public class date {

    public static void main(String[] args) {

    Calendar date1 = Calendar.getInstance();
    Calendar date2 = Calendar.getInstance();...
  15. Replies
    3
    Views
    5,285

    Re: Displaying an image with Qt

    QWidget * widget = new QWidget;
    QLabel * label = new QLabel;
    QPixmap * pic_img = new QPixmap ( "1.jpg");
    / / 1 is in the directory that contains exe

    label -> setPixmap (pic_img *);

    ...
  16. Replies
    3
    Views
    1,058

    Re: Passing function pointer as argument

    Passing a function pointer as an argument to a function is quite essential when you want to implement callback functions. Passing function pointers to a DLL has been done for generations.A function...
  17. Replies
    3
    Views
    1,190

    Re: Difference between pointer and reference

    POINTER



    int b = 11;

    int *P = &b; //It is not necessary

    Another way is :
  18. Re: Accessing a variable outside a function without arg

    try this example :

    main.c

    # include <stdio.h>
    # include <stdlib.h>
    # include <string.h>

    # include "global.h"
  19. Replies
    3
    Views
    621

    Re: Standard binary conversion

    #include<iostream.h>
    #include<conio.h>
    void main()
    {
    clrscr();
    unsigned long int j,o=0,k=0,r,l[50];
    unsigned long b,y,c[50];
    cout<<"\nEnter a decimal no. ";
    cin>>b;
    z=b;
  20. Replies
    5
    Views
    1,727

    Re: Difference between two strings

    A string is a sequence of characters. Any sequence or set of characters defined within double quotation symbols is a constant string, Basically, you would cycle through each character in one string,...
  21. Replies
    3
    Views
    644

    Re: Code to search for a string

    Try this ;

    #include <iostream>
    #include <fstream>
    #include <string>

    using namespace std;

    int main () {
  22. Replies
    3
    Views
    548

    Re: Function for two random numbers

    The random number generator produces a sequence of numbers that gives the appearance of being random, when in fact the sequence will eventually repeat and is predictable. Generating random numbers in...
  23. Replies
    3
    Views
    1,248

    Re: String manipulation in c

    #include <stdio.h>
    #include <string.h>

    int main() {


    char dem[] = "H Word";
    char * he_it_is;
    dem[5] = '\0';
  24. Replies
    3
    Views
    1,105

    Re: Matrix parameter function

    To make a two-dimensional array in function parameter:

    int tab [10] [10] / * values pf * /

    function (tab) / * function call * /

    void function (int * array [10]) / * prototype (or int...
  25. Replies
    3
    Views
    535

    Re: Problem in a random word function

    use this :

    fgets (word, 20, dic);

    strcpy (test. word, word) / / we copy word

    test. cache [1] = 1;

    for (j = 1 j <long_no j + +)
    (
  26. Replies
    3
    Views
    3,058

    Re: Error: Incompatible types in assignment

    strcat is not used like that ...
    It only take 2 and 2 char pointers as parameters. The strcat() function will concatenate two strings by placing the second input on the end of the first.
    You need...
  27. Replies
    3
    Views
    797

    Re: Calculating the sum of two polynomials

    - The value of the variable pointed to: p1-> t OR (* p1). T
    If the pointer is p1.t, the value of the variable is pointing * (p1.t). Writing p1-> * t or (p1). T is legitimate only if p1 is a pointer...
  28. Replies
    3
    Views
    1,024

    Re: Create a DLL in c + + with OOP

    A DLL is simply a set of compiled programs (just like a .obj that is created by your compiler). So, you can link the DLLs with any of your projects, If you want to write Windows DLL's in C++ you...
  29. Thread: xampp or wamp

    by Aberto
    Replies
    3
    Views
    1,509

    Re: xampp or wamp

    If you are a beginner, WAMP is not for you. WAMP allows for much quicker and easier configuration of PHP extensions, anything can be added and configured with at most 2 clicks.It allows you to create...
  30. Replies
    3
    Views
    2,286

    Re: Highlight a line of a TextEdit

    QTextCursor textEdit = cursor -> TextCursor () / / It gets a QTextCursor the text box
    cursor. setPosition (n QTextCursor: KeepAnchor) / / The location n is the position recovered by indexOf (...
  31. Replies
    3
    Views
    1,110

    Re: Embed calendar on website

    Web Based Calendar are a great way to keep your community aware of events of interest. CalendarScript 3.21 is a fully customizable event-publishing solution. It gives you everything you'll need to...
  32. Replies
    4
    Views
    767

    Re: Php calendar script

    PHP calendar script :



    <?
    if(isset($pm) and $pm > 0){
    $n=$pm+$chm;}else{
    $n= date("m");}

    $e= date("e");
  33. Replies
    3
    Views
    2,402

    Re: Change the background color of QTextEdit

    setBackgroundRole(QPalette::ColorRole role) in QWidget


    setStyleSheet ( "background-color: red;") > For a red background ...
  34. Replies
    3
    Views
    773

    Re: Two dimensional array to a function

    Two-dimensional arrays are declared by specifying the number of rows then the number of columns.


    int a[20][20]; (declares an int array of 20 rows and 20 columns)
    char ticTacToeBoard[4][4]; (...
  35. Replies
    3
    Views
    1,306

    Re: Compilation of a library (FFTW)

    To perform FFTs efficiently on the Altix, the above vendor libraries generally offer the best performance and scalability. FFTW will compute the DFT in both real and complex data (as well as of...
  36. Thread: What is shtml

    by Aberto
    Replies
    3
    Views
    705

    Re: What is shtml

    SHTML is really not a "thing" so much as an extention used by Web servers to define a document that has Server Side Includes (SSI).Server Side Includes (SSI) is a simple interpreted server-side...
  37. Replies
    3
    Views
    1,524

    Re: How to create a directory in c++

    System("mkdir -p /tmp/a/b/c") -p: will also create all directories leading up to the given directory that do not exist already. You can use or SHCreateDirectory or SHCreateDirectoryEx API ([To set...
  38. Replies
    3
    Views
    869

    Re: How to make a nofollow link

    <a href="link here" rel="nofollow">text here</a>
    The most obvious reason to gain these links is because they can still send traffic to your site. The proper methods for blocking search engine to...
  39. Replies
    3
    Views
    530

    Re: Redeclration a method of an object

    Use / slots to connect to any external function on an event. This is better for (particular) events and graphical interfaces in C + +.

    class Class1
    { void Method1();
    int MemberVariable1;}
  40. Replies
    3
    Views
    668

    Re: Function search in a string

    You must take the first character of your search string in another string. imagined that character is to the number n. So the second you take the character and you compare year + 1, even if it is you...
  41. Replies
    3
    Views
    3,900

    Re: PHP - IIF function

    In Access, the iif function returns one value if a specified condition evaluates to TRUE, or another value if it evaluates to FALSE.
    In computing, IIf is a function in several editions of the...
  42. Replies
    3
    Views
    892

    Re: How to create and send HTML email

    Cons of using html email : HTML email has now surpassed text-based email in popularity. HTML e-mail is the use of a subset of HTML to provide formatting and semantic markup capabilities in e-mail...
  43. Replies
    3
    Views
    949

    Re: Adding RSS feeds to a website using Carp

    RSS is a format for syndicating news and the content of news-like sites, including major news sites like Wired, news-oriented community sites. CaRP -Caching RSS Parser helps keeping a site dynamic...
  44. Replies
    3
    Views
    848

    Re: What is a syntax error?

    Every language has got set of rules. If you make a mistake while using the language, then it is called syntax error. I c++ every statement ends with a semicolon, printf and scanf arguments should be...
  45. Replies
    3
    Views
    822

    Re: Definition of a property line in a method

    The generic functions is really something not to reinvent oneself. It's extremely complicated to write if you want something at least flexible, and is code to write (many specializations and...
  46. Replies
    3
    Views
    2,492

    Re: Vbscript to find latest file

    dim sMostRecent, dMostRecent
    MostRecent("D:\Temp")
    fileScript.Echo sMostRecent, dMostRecent
    Sub MostRecent (Folder1)
    Set oFSO = CreateObject("Scripting.FileSystemObject")
    dMostRecent = 0...
  47. Replies
    3
    Views
    2,350

    Re: Dynamically Loading a C# DLL

    You can PInvoke to call Win32 functions, LoadLibrary and GetProcAddress. Windows provides two ways to load DLLs into the process of an executable. When the DLL is unloaded you must make sure that you...
  48. Replies
    3
    Views
    609

    Re: Problem with the function begin ()

    Vectors iterators are usually implemented as pointers. Passing over all the elements of a vector is simple, and is usually done using subscripts instead of an iterator. The type of iterator is...
  49. Replies
    3
    Views
    1,918

    Re: Load SQLite database from remote SQL Server

    SQLite is a software library that implements a self-contained, transactional SQL database engine. SQLite allows you to represent your databases as ER diagrams, build queries visually, operate on all...
  50. Replies
    4
    Views
    1,248

    Re: Convert PSD to HTML

    PSDConverter service specializes in providing high quality service of slicing your designs into valid XHTML. Image Converter Plus is the professional converter for graphic files, photos, drafts,...
Results 1 to 50 of 177
Page 1 of 4 1 2 3 4
Page generated in 1,711,667,786.62659 seconds with 29 queries