Search:

Type: Posts; User: everyone0

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    751

    mm sorry about that

    mm sorry about that
  2. Replies
    9
    Views
    751

    try it on a compiler, it gives me an error at the...

    try it on a compiler, it gives me an error at the line puts(string[0]);
    invalid conversion from a char to const char !!! i dont have a clue about the problem.
  3. Replies
    9
    Views
    751

    #include #include #include...

    #include <stdio.h>
    #include <conio.h>
    #include <string.h>
    main()
    {
    char string[20];
    gets(string);
    puts(string[0]);
    getch();
    }
  4. Replies
    9
    Views
    751

    well i tried that lol , it doesnt

    well i tried that lol , it doesnt
  5. Replies
    9
    Views
    751

    string question

    Hi all programmers :), i was wondering if i read a string and then i was trying to print the first letter of that string what am i supposed to do ?
  6. Replies
    14
    Views
    2,119

    actually yea im working on several programs at...

    actually yea im working on several programs at the same time so i check once and a while , the second suggestion worked laserlight , thanks , i guess i won't have to ditch my compiler lol.
  7. Replies
    14
    Views
    2,119

    tried to figure it out :( , this is killing me...

    tried to figure it out :( , this is killing me can't find a single problem with the function and still gives me same error
  8. Replies
    14
    Views
    2,119

    yep its borland mm , i did add a ; before the }...

    yep its borland mm , i did add a ; before the } but still having same problem
  9. Replies
    14
    Views
    2,119

    what does (6,8) declaration terminated...

    what does (6,8) declaration terminated incorrectly mean ?
  10. Replies
    14
    Views
    2,119

    but thats not a prototype thats the function...

    but thats not a prototype thats the function itself
  11. Replies
    14
    Views
    2,119

    a string program question

    hi guys , this is a program to read string S1 ,go to index k, and delete the
    char located in index k. but its giving me an error that declaration terminated incorrectly could anyone help me plz ?...
  12. Replies
    12
    Views
    4,233

    wow i feel stupid! thanks for the help

    wow i feel stupid! thanks for the help
  13. Replies
    12
    Views
    4,233

    well i corrected the code as u said but now it...

    well i corrected the code as u said but now it says ambiguity between the function and the way im calling it

    #include <string.h>
    #include <stdio.h>
    #include <conio.h>
    char *(strchr)(const char...
  14. Replies
    12
    Views
    4,233

    still same problem when i turned it back to char*

    still same problem when i turned it back to char*
  15. Replies
    1
    Views
    1,514

    the strchr function

    hi, i wrote the strchr function in a full program but there is something wrong when calling the function and it gives me an expected error , here is the code :

    #include <string.h>
    #include...
  16. Replies
    12
    Views
    4,233

    giving me an expected error #include...

    giving me an expected error

    #include <string.h>
    #include <stdio.h>
    #include <conio.h>
    void strchr(*s, char c)
    {
    while (*s != '\0' && *s != (char)c)
    s++;
    return ( (*s...
  17. Replies
    12
    Views
    4,233

    mm thanks , the instructor definitely did not...

    mm thanks , the instructor definitely did not tell me that :)
  18. Replies
    12
    Views
    4,233

    could someone put a main function in the code so...

    could someone put a main function in the code so i can trace it and try to get it myself ?
  19. Replies
    12
    Views
    4,233

    Question: The strchr function

    hey guys , this is the strchr function , i was wondering what does that return at the end of the code do ? i can't really understand it , what does the '?' sign do ?


    #include <string.h>
    /*...
  20. Replies
    5
    Views
    1,140

    mm thanks for the help

    mm thanks for the help
  21. Replies
    5
    Views
    1,140

    any other ways than using a flag variable ?

    any other ways than using a flag variable ?
  22. Replies
    4
    Views
    790

    ok thanks for the help , will do

    ok thanks for the help , will do
  23. Replies
    5
    Views
    1,140

    1-D array question

    hey guys , i was wondering if u could tell me a few ways to find if a certain element(no,char,or whatever) exists in an array or not.
    ex: i enter 10 elements in an array through a for loop then how...
  24. Replies
    4
    Views
    790

    ops forgot to initialize sum=0

    ops forgot to initialize sum=0
  25. Replies
    4
    Views
    790

    help with this code please

    i wrote this code it prints average ,min,max in array but the problem is that the average doesn't print correctly . help plz

    #include <stdio.h>
    #include <conio.h>
    void func(int A[],int size,int...
Results 1 to 25 of 90
Page 1 of 4 1 2 3 4