Search:

Type: Posts; User: Walby

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,492

    Re: Granting mysql privleges in phpmyadmin

    MySQL privileges allow each of the users to access and utilize only the areas they need to perform their tasks.The tables of mysql database called grant tables are used to configure all aspects of...
  2. Replies
    3
    Views
    850

    Re: Mysql dumpdatabase command

    This are the following commands are useful with mysqldump :



    mysqldump –-user [user name] –-password=[password] [database name] > [dump file]

    or
  3. Replies
    5
    Views
    2,543

    Re: How to allow remote connection to MySQL

    You need to enable remote connection because they are disabled as default. PHPMaker is tool that can generate a PHP from MySQL database. You have to set the privilegs for a user to access the...
  4. Replies
    5
    Views
    1,240

    Re: Find and Replace in JavaScript String

    <script type="text/javascript">
    var visitorName = "chk";
    var myOldString = "Hello chk";
    var myNewString = myOldString.replace("username", visitorName);

    document.write("Old string = " +...
  5. Replies
    5
    Views
    1,314

    Re: Two Dimensional Arrays in JavaScript

    var faq = new Array(2)

    for (j=0; j <2; j++)
    faq[j]=new Array(3)

    faq[0][1] = "Arrays"
    faq[0][2] = "What is array?"


    faq[1][1] = "Arrays"
  6. Replies
    7
    Views
    1,041

    Re: Css padding in html

    <style type="text/css">
    td {
    width:60%;
    border:1 solid black;
    }
    td.padded {
    padding:30px;
    }
    </style>
    <table>
  7. Replies
    5
    Views
    698

    Re: CSS background position

    CSS background-position :


    body
    {
    background-image:url('s1.gif');
    background-repeat:no-repeat;
    background-attachment:fixed;
    background-position:center;
    }
  8. Replies
    5
    Views
    2,069

    Re: VBScript DateDiff Function

    In classic ASP, vbscript DateDiff function of date time functions series can also be used to get the number of specified type of time intervals between the two given time values. Returns the number...
  9. Replies
    3
    Views
    820

    Re: Flash ActionScript loops

    There are three main types of ActionScript loops, the for loop, the while loop, and the do-while loop.Code blocks are also used within if/else statements if multiple statements are to be carried when...
  10. Replies
    3
    Views
    535

    Re: Search character in a string

    #include <string.h>

    char d[] = "tabl+cam";
    char *q;

    while ((q = strchr(d,'+')) != NULL)
    strcpy(q, q+1);
  11. Replies
    4
    Views
    734

    Re: Pointer parameter in a function

    Initializing, De-referencing a Pointer Variable :

    Examples:

    int u;
    int k;
    int* pic1;
    int* pic2;
    char* pcr;
  12. Replies
    3
    Views
    722

    Re: Passing arguments to a function

    #include <stdio.h>
    void increment(int);

    int main(void)
    {
    int cnt = 6;
    increment(cnt);
    printf("cnt = %d\n", cnt);

    return(0);
  13. Replies
    3
    Views
    3,065

    Re: Convert an int to QString

    First you must convert your whole year or char string "x" after you made the addition of former String with x, I do not know if it works on QT but I read on what works on traditional C + +. Check...
  14. Replies
    3
    Views
    832

    Re: Find date in java

    import java.text.*;
    import java.util.*;
    public class Dtest {
    public static void main(String args[]) {
    SimpleDateFormat dt = (SimpleDateFormat)
    ...
  15. Replies
    3
    Views
    5,285

    Re: Displaying an image with Qt

    #include ...

    int main(int arg, char *arg[])
    {
    QApplication a(arg, arg);
    QGraphicsScene scene;
    QGraphicsView view(&scene);
    QGraphicsPixmapItem item(QPixmap("d:\\image.png"));
    ...
  16. Replies
    3
    Views
    1,058

    Re: Passing function pointer as argument

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

    void func(int (*comp)()) {
    char *g="123";
    char *f="234";
    if( comp(g,f)!=0 ) {
    printf("pointer");
    }
    }
  17. Replies
    3
    Views
    1,190

    Re: Difference between pointer and reference

    Pointer maynot associate with a legitimate memory but refernces should associate with certain memory.A pointer can be re-assigned any number of times while a reference can not be reassigned after...
  18. Re: Accessing a variable outside a function without arg

    Have you tried with varying types of extern?

    var j;
    $.getJSON("url", function (json) {
    // update iji = json.var;
    });
  19. Replies
    3
    Views
    621

    Re: Standard binary conversion

    #include<stdio.h>
    #include<conio.h>
    void main()
    {

    int i,l,f,q[100];
    clrscr();
    printf("Enter a Number:");
    scanf("%d",&l);
    i=0;
  20. Replies
    5
    Views
    1,727

    Re: Difference between two strings

    Check this example :


    import org.apache.commons.lang.StringUtils;

    public class String1 {

    public static void main(String args[]) {

    ...
  21. Replies
    3
    Views
    644

    Re: Code to search for a string

    #include <string.h>
    main()
    {
    FILE *file;

    file = fopen("/home/jim/filename","f");
    if(file==NULL)
    {
    printf("error");
    }
  22. Replies
    3
    Views
    548

    Re: Function for two random numbers

    The key function in generating random numbers is; int random (int n); which generates a random number in the range of 0 to n-1. Random number generators (pseudo-random, of course) in C; mostly fast...
  23. Replies
    3
    Views
    1,248

    Re: String manipulation in c

    The function strlen() will tell you the number of characters in a string. use a for loop to print out a string the user enters with a * between each letter. String objects are a special type of...
  24. Replies
    3
    Views
    1,105

    Re: Matrix parameter function

    The differences between Matrix parameters and Query Parameters are much more than just convention. Objects and class functions are often associated with code, and C structures may seem somewhat...
  25. Replies
    3
    Views
    535

    Re: Problem in a random word function

    Delcar your structure like this:


    typedef struct (
    char word [20] / / word to guess
    int cache [20] / / if cache letter value 1 otherwise value 0
    MCache);
  26. Replies
    3
    Views
    3,058

    Re: Error: Incompatible types in assignment

    You can pass to the function strcat more than two parameters. But I remind you of the prototype of the function strcat:
    char * strcat (char * string1, const char * string2);
    Even if the problem...
  27. Replies
    3
    Views
    797

    Re: Calculating the sum of two polynomials

    A Polynomial in the variable X, of Degree n, has the form: aX^n+bX^(n-1)+...+vX^2+wX+z, where (a),(b),(v),(w),and (z) are Real numbers, (n) is a Whole number, and (a)is not equal to zero, the typedef...
  28. Replies
    3
    Views
    1,024

    Re: Create a DLL in c + + with OOP

    DLLs (Dynamic Link Libraries) are an important aspect of Windows. A DLL contains functions that your executable program can call during execution. In other words, a DLL is a library of functions that...
  29. Thread: xampp or wamp

    by Walby
    Replies
    3
    Views
    1,509

    Re: xampp or wamp

    XAMPP is good for development and portability, that's for sure. Xampp is a self contained package for developments. XAMPP's designers intended it for use only as a development tool, to allow website...
  30. Replies
    3
    Views
    2,286

    Re: Highlight a line of a TextEdit

    The QTextCursor class offers an API to access and modify QTextDocuments, TextEdit does indeed support the desired display of text/color/background combination and even that can be further edited.
    ...
  31. Replies
    3
    Views
    1,110

    Re: Embed calendar on website

    Calendar Pad publishes directly from your windows desktop to your website using standard FTP (File Transfer). No online databases to install and maintain, no programming required.Web calendar creator...
  32. Replies
    4
    Views
    767

    Re: Php calendar script

    You can also use Web Calendar Pro, is Simple to install, implement and use. Allow visitors of your website to quickly know what events are planned and when. It has easy yet powerful interface,...
  33. Replies
    3
    Views
    2,402

    Re: Change the background color of QTextEdit

    QColor = QColorDialog:: getColor (Qt:: white, this);
    QTextEdit * Texte = new QTextEdit (this);
    Texte -> setText (Active () -> toPlainText ());
    TextFormatting QString = QString:: fromLatin1 (...
  34. Replies
    3
    Views
    773

    Re: Two dimensional array to a function

    Two-dimensional arrays are a little more complicated to use than one-dimensional ones. Whereas, one dimensional arrays can be visualized as a stack of elements, two dimensional arrays can be...
  35. Replies
    3
    Views
    1,306

    Re: Compilation of a library (FFTW)

    C: \ Qt \ (sub-folder of your version of Qt, usually something like 2009.01) \ bin \ qtenv.bat .

    If you come home that Qt 4.5 (the second file is to replace eh you put that you have in C: \ Qt)....
  36. Thread: What is shtml

    by Walby
    Replies
    3
    Views
    706

    Re: What is shtml

    shtml is 'server parsed' for server side includes. SHTML is a file extension that lets the web server know the file should be processed as using Server Side Includes (SSI).Most commly you see it used...
  37. Replies
    3
    Views
    1,524

    Re: How to create a directory in c++

    Try the following program to create directory in C++ :

    #include<iostream.h>
    #include<sys/stat.h>
    #include<sys/types.h>
    using namespace std;

    main()
    {
  38. Replies
    3
    Views
    870

    Re: How to make a nofollow link

    The nofollow attribute value is not meant for blocking access to content, it is an HTML attribute value used to instruct some search engines that a hyperlink should not influence the link target's...
  39. Replies
    3
    Views
    530

    Re: Redeclration a method of an object

    It is not possible to do that. You must be a class derived by different method, eg a class clBoutonAnnuler a clBoutonValider, etc ..., each derived from the Button class, and each with its specific...
  40. Replies
    3
    Views
    668

    Re: Function search in a string

    I think the error must come from the line 15. You should write:

    if (m_ch [i + j] == string [j] == j & & (length (string) - 1))


    Otherwise be careful, because when you look at the character...
  41. Replies
    3
    Views
    3,900

    Re: PHP - IIF function

    iif function in php :


    <?php
    function test ($test1) {
    return $test1 ? 'true' : 'false' ;
    }
    echo test1(1);
    echo '<br>';
    echo test1(0);
  42. Replies
    3
    Views
    892

    Re: How to create and send HTML email

    An HTML email is nothing but a web page. HTML emails are basically HTML pages transported as email messages and Microsoft Outlook is using the XML format for automatically generating the HTML code...
  43. Replies
    3
    Views
    949

    Re: Adding RSS feeds to a website using Carp

    Carp RSS also properly caches the RSS data which improves the performance of your websites that make remote calls to other servers for RSS data. carp allows you to enter local paths and http paths...
  44. Replies
    3
    Views
    848

    Re: What is a syntax error?

    If a syntax error is encountered during compilation it must be corrected if the source code is to be successfully compiled. For compiled languages syntax errors occur strictly at compile-time. A...
  45. Replies
    3
    Views
    822

    Re: Definition of a property line in a method

    Objective-C is a reflective, object-oriented programming language, which adds Smalltalk-style messaging to the C programming language. A class defined with define-objc-class has no methods associated...
  46. Replies
    3
    Views
    2,493

    Re: Vbscript to find latest file

    Try this code to find latest file in vbscript :

    Dim objFSO : Set objFSO = CreateObject("Scripting.FileSystemObject")
    strParent = "\\test\test1"

    ScanDirectory (objFSO.Folder1 (strParent)
    ...
  47. Replies
    3
    Views
    2,350

    Re: Dynamically Loading a C# DLL

    You'd use reflection to load the DLL at runtime.. However, unlike the Java there is an additional requirement - a ‘module manager’ class needs to be within the API. By dynamically loading a DLL you...
  48. Replies
    3
    Views
    609

    Re: Problem with the function begin ()

    iterators are a type (actually an object) in themselves. <int> vector:: iterator it declares an iterator on a vector of integer. This iterator is called "it".You should follow a tutorial that...
  49. Replies
    3
    Views
    1,918

    Re: Load SQLite database from remote SQL Server

    This is not the purpose of Sqlite is made to be small, lightweight form of local file. For this, it is better to use MySQL, which is made to connect to a remote server, without being too heavy.
  50. Replies
    4
    Views
    1,248

    Re: Convert PSD to HTML

    There are many services like Pixelcrayons, PSD2HTML, W3-markup which allow you to convert Psd to html. PSD to HTML services costs way too much and I'd suggest learn your own way in the world of HTML...
Results 1 to 50 of 199
Page 1 of 4 1 2 3 4
Page generated in 1,711,701,521.81206 seconds with 31 queries