Search:

Type: Posts; User: sick

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: File handling

    by sick
    Replies
    3
    Views
    1,102

    File handling

    Hi i want to create a program that examines the content of a file just a text file.
    My problem is i want to search for a pattern and remove then in my file for example the content of a file is:...
  2. Replies
    2
    Views
    2,318

    then what should be fill inorder to be completed?

    then what should be fill inorder to be completed?
  3. Replies
    2
    Views
    2,318

    Need Help in Compiling errors

    #include <windows.h>

    LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);

    int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
    PSTR szCmdLine, int iCmdShow)...
  4. Thread: typedef

    by sick
    Replies
    6
    Views
    1,671

    typedef

    typdef int arr5[5];

    typedef arr5 * p_arr5;

    typedef p_arr5 arrp10[10];

    arr5 togs;

    p_arr5 p2;
  5. Replies
    6
    Views
    1,189

    thanks zlatko...i missed that part

    thanks zlatko...i missed that part
  6. Replies
    6
    Views
    1,189

    1 void multiplication() 2 { 3 int i,j; 4 5...

    1 void multiplication()
    2 {
    3 int i,j;
    4
    5 memset(temp,0,sizeof(temp));
    6
    7 for(i=5;i>=1;i--)
    8 {
    9 for(j=155;j>155-len();j--)
    10 {
  7. Replies
    6
    Views
    1,189

    help me trace this code

    #include<stdio.h>
    #include<string.h>
    char r[6];
    unsigned result[156];
    unsigned temp[156];
    int len()
    {
    int i;
    for(i=0;i<=156;i++)
    {
  8. Thread: Error in runtime

    by sick
    Replies
    7
    Views
    1,758

    thanks

    thanks
  9. Thread: Error in runtime

    by sick
    Replies
    7
    Views
    1,758

    umm guys i think 0 and '\0' is the same...correct...

    umm guys i think 0 and '\0' is the same...correct me if i am wrong
    here's the proof:


    #include <stdio.h>

    int main(void)
    {
    char ar[5]="1234";
    short b;
  10. Thread: percision display

    by sick
    Replies
    4
    Views
    976

    ohh thanks a lot salem for the hint....

    ohh thanks a lot salem for the hint....
  11. Thread: percision display

    by sick
    Replies
    4
    Views
    976

    umm there's other alternative solution than...

    umm there's other alternative solution than having that library??
  12. Thread: percision display

    by sick
    Replies
    4
    Views
    976

    percision display

    hey my question is i have a program that computers the power and the source code is like
    this:

    #include <stdio.h>

    int main(void)
    {
    int exp,c;
    double pow=1,bse;
    scanf("%lf...
  13. Thread: c and c++ string

    by sick
    Replies
    13
    Views
    4,701

    umm btw what is the new keyword??

    umm btw what is the new keyword??
  14. Thread: c and c++ string

    by sick
    Replies
    13
    Views
    4,701

    umm how about i use that function in input?? umm...

    umm how about i use that function in input?? umm i think it couldn't be use right?? or it can be? thanks for enlightening me.......
  15. Thread: c and c++ string

    by sick
    Replies
    13
    Views
    4,701

    c and c++ string

    umm just want to ask about the basic data types....
    cause in c the declaration of string is like this


    char str[size];


    and in c++
  16. Thread: DLL

    by sick
    Replies
    2
    Views
    1,023

    DLL

    just want to ask if there's a good tutorial in programming dll or a good book for starting dll...Thanks
  17. Thread: Error in runtime

    by sick
    Replies
    7
    Views
    1,758

    thanks spidey and elysia!!! i've forgot the...

    thanks spidey and elysia!!! i've forgot the difference between the '\0' and the NULL pointer... :D
  18. Thread: Error in runtime

    by sick
    Replies
    7
    Views
    1,758

    Error in runtime

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

    int main(void)
    {
    char ar[20],*p;
    int a;
    gets(ar);
    if(a=atoi(ar))
  19. Thread: help with pointer

    by sick
    Replies
    17
    Views
    2,197

    while(*ptr) { while(*ptr!='...

    while(*ptr)
    {
    while(*ptr!=' '&&*ptr)
    ptr++;
    if(*ptr==' ')
    ptr++;
    printf("%s\n",ptr);
    }

    i think this is...
  20. Thread: help with pointer

    by sick
    Replies
    17
    Views
    2,197

    i've rewrite the inner loop as this...and it is...

    i've rewrite the inner loop as this...and it is okay..thanks guys!!


    while(*ptr)
    {
    while(*ptr!=' '&&*ptr++);
    if(*ptr==' ')
    ptr++;
    ...
  21. Thread: help with pointer

    by sick
    Replies
    17
    Views
    2,197

    Thank you all guys!!!...

    Thank you all guys!!! laserlight,ben10,spidey...thank you all...
  22. Thread: help with pointer

    by sick
    Replies
    17
    Views
    2,197

    wait a minute guys....let me explain my function...

    wait a minute guys....let me explain my function


    #include <stdio.h>
    #include <strings.h>

    void split(const char *);

    int main(void)
    {
  23. Thread: help with pointer

    by sick
    Replies
    17
    Views
    2,197

    thank you all!!!! i learn a lot from you...

    thank you all!!!! i learn a lot from you guys!!!thanks
  24. Thread: help with pointer

    by sick
    Replies
    17
    Views
    2,197

    help with pointer

    #include <stdio.h>
    #include <strings.h>

    void split(const char *);

    int main(void)
    {
    char ar[30];
    gets(ar);
    split(ar);
  25. Replies
    7
    Views
    1,518

    thanks guys!!!!!

    thanks guys!!!!!
Results 1 to 25 of 42
Page 1 of 2 1 2