Search:

Type: Posts; User: satory

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    5,136

    Cheers for the help above but can you see if im...

    Cheers for the help above but can you see if im on the right path for the idea you gave earlier






    while ( !feof(in))
    {
    fgets(num,50,in);
  2. Replies
    9
    Views
    5,136

    so im im just writing up the code now but ive...

    so im im just writing up the code now but ive come up against a anoher same problem



    struct treeNode {
    struct treeNode *yesPtr; /* pointer to yes subtree */
    int num; /* node value */...
  3. Replies
    9
    Views
    5,136

    though what im looking for is a way at the moment...

    though what im looking for is a way at the moment to search through the file and pull out that line with the approiate question. the indexing of the questions will be used to get the line needed ...
  4. Replies
    9
    Views
    5,136

    the way i was going to solve that was 1 Are...

    the way i was going to solve that was

    1 Are you Female?
    2 //space for another question going down the yes side
    3 //space for another question going down the no side
    4 //Another question for...
  5. Replies
    9
    Views
    5,136

    Question about binary trees and files

    Ive got an assignment to do over the weekend in c. Firstly the assisgment is to create a game which asks the user a question from there they can pick yes of no. When the user picks a person and...
  6. Thread: Small C problem

    by satory
    Replies
    5
    Views
    1,326

    wow thats the craziest thing i ever saw as soon...

    wow thats the craziest thing i ever saw as soon as i moved the line
    FILE *in; it completely takes away all the errors cheers
  7. Thread: Small C problem

    by satory
    Replies
    5
    Views
    1,326

    Small C problem

    sorry for asking the question but can any one here see whats worng with the following



    int main (void)
    {
    //...Determining whether there is stored tree or not......
  8. i'm posting beyond the line but that got rid...

    i'm posting beyond the line


    but that got rid on 2 error messages
  9. Can i do this: Structures and linked lists help

    Im doing a c assignment for college where I have to create a database like program which can store up to 100 records for make, model, etc of a car. So I have decided to use structures and linked...
  10. Replies
    3
    Views
    1,027

    now im feelling rather sh!ty as i did not see...

    now im feelling rather sh!ty as i did not see that


    but can i add in a to upper bit or shall i just rewrite that but with lower case

    EDIT: just saw the above post and i thought about a...
  11. Replies
    3
    Views
    1,027

    Comparing stringish

    okay so another problem now i have in a new program is the following



    if (strcmp ("C_CONVERT",argv[1] == 0))
    {
    printf ("C_CONVERT\tConverts one file type to another\n");
    ...
  12. Replies
    5
    Views
    5,356

    so i have been sitting down for the last couple...

    so i have been sitting down for the last couple of hours and ive just found my problem is the strcmp bit i was checking the thing wrong so the if statement after wards was looking for the wrong...
  13. Replies
    5
    Views
    5,356

    searching a text file for a word

    i was given the assignment in college to write a program in c that will run from the command prompt and will search a desired text file for a desired word heres the code that i have and i think it...
  14. Thread: System thingys

    by satory
    Replies
    9
    Views
    1,452

    that is classic thanks now i can have endless...

    that is classic thanks now i can have endless amounts of fun

    :cool:
  15. Thread: System thingys

    by satory
    Replies
    9
    Views
    1,452

    it tried a google search and got a big fat simple...

    it tried a google search and got a big fat simple zero (im starting to hate searches) so i tried to see if and you guys knew and more helpful ones

    although its nice to know the pros and cons
    ...
  16. Thread: System thingys

    by satory
    Replies
    9
    Views
    1,452

    System thingys

    so im new to this c programming thing as i have probably said before but i foung out about the line


    system ("cls");




    which i found very helpful and have now found the line
  17. Replies
    8
    Views
    1,814

    i didnot think of that so would that mean that i...

    i didnot think of that so would that mean that i would have to when searching the array which before i including of strings i had




    for (index = 0; index <=15; index++)
    {
    if...
  18. Replies
    8
    Views
    1,814

    so here me taking back because im stupid...

    so here me taking back



    because im stupid and ive got it to work (nearly but i can work the rest out)
  19. Replies
    8
    Views
    1,814

    that sounds like ill give it a try but later on...

    that sounds like ill give it a try but later on in the program im swapping the elements and at the moment (before the string bit by itsme86 ) its



    temp = board[pos1];...
  20. Replies
    8
    Views
    1,814

    no i just took out the single quotes and all the...

    no i just took out the single quotes and all the single didgit numbers printed fine as usual but i got a load of symbols where the double digit numbers should be i also just tried to change the %c...
  21. Replies
    8
    Views
    1,814

    need help not too urgent

    so here the deal im pretty new at this programming lark and one of my lectures set the task of designing a puzzle block game (DONT WORRY NOT ASKING ANYONE TO DO IT).

    using an array of 16 you got...
  22. Replies
    1
    Views
    1,603

    need help with char and ints in an array

    below is a bit of a program that i am writing but at
    the moment im having a problem with the array




    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
  23. Thread: C Poker games

    by satory
    Replies
    6
    Views
    2,060

    i know most of that but im not too sure of the ai...

    i know most of that but im not too sure of the ai and them giving up the bad cards having been not very specific in the earlier post.

    also the other big bit would be is there any easy way to...
  24. Thread: C Poker games

    by satory
    Replies
    6
    Views
    2,060

    C Poker games

    has anyone come accross any good poker games created in c which come with the code

    mainly looking for texas holdem but any kind is okay im not fussy i just want to play one and see how it is...
  25. Replies
    1
    Views
    1,198

    changing the colour of text in vc++6

    i looked at the faq and it said if the complier has the textcolor function but i dont think vc++6 has it so how can i change the colour please
Results 1 to 25 of 28
Page 1 of 2 1 2