Search:

Type: Posts; User: client

Search: Search took 0.01 seconds.

  1. I have a problem... that has something to do w/ array & loops !

    Hello again this is my second post today, (I solved at least how to delete it ! thanks for sharing your knowledge guys !!")

    This is the code


    void passenger_info()
    { //void passenger_info()...
  2. How do I delete the content of a char && string ??

    Well I'd like to know how I can delete the content of a string...

    As an example



    #include <stdio.h>
    void main(void)
    {
    char string[1][32] = "This is a string";
  3. Thanks Hammer, but...

    Thanks for your help, but I have the following problems...

    When I change


    if((first[seat][a] == "M")||(first[seat][a] == "F"))

    to
  4. ... in addition to the text above...

    I removed the * (asteriks) from the strings in the output but this time not ".l" was displayed "(null)" was displayed ???

    Thanks in advance
    client :confused:
  5. Fixed my bugs... but have still problems with arrays

    O.K. ! Thanks to all who explained me how to use fgets... Now I made some bugfixes in my code... this is the result !!!



    void firstclass_select()
    { //void firstclass_select() begin

    ...
  6. Replies
    7
    Views
    2,424

    Poll: Problems with Arrays

    Hi again :cool: ,

    So I have written the following module, but it locks the computer or shows error messages... :mad: I still can't understand what's the problem with this code... :confused:
    ...
  7. Replies
    3
    Views
    1,986

    Need some help...

    Hi everybody,

    So first to details, I'm using Borland C++ for Windows 3.1 & this prog. will work under DOS !!!

    So here are my global variables



    char *first[16][4];
    char *econo[24][4];
  8. Thread: strchr

    by client
    Replies
    2
    Views
    3,514

    strchr

    I know that strchr, searches for the first occurences of a char in a string... I just wanted know if I can use this code to count characters in a string as example.

    String: An apple a day keeps...
  9. Replies
    2
    Views
    2,174

    strstr problem...

    Hi folks...

    So this is my Code:



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

    int main(void)
  10. Replies
    1
    Views
    1,648

    Stil having problems...

    Hi it's me again, with the same problem...

    This time I have a different kind of solution but know how to put it in real.

    So...

    1. Is there a possibility to search with strtok, how many words...
  11. Again Character Count, Word Count and String Search

    Thanks for the responses but that was not exactly what I was looking for.
    First of all I use Borland C++ 3.1 and this program is running under DOS.

    So I'll write again my problem....

    Program...
  12. Count Characters, Count Words, Search for specific String.

    Hi everybody,
    I'm new to C and I'm trying to find out every function with Help, but this time it was of no use. So I just need a tip or something like this for this three questions !!!

    I'm using...
Results 1 to 12 of 12