Search:

Type: Posts; User: JohnGM

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    5,168

    Looping a socket connection

    Hi all,

    Is it possible to loop a connection to a site where different pages only means changing 1 number.

    The modified socket details below work fine the first time round, but when it loops ...
  2. Replies
    2
    Views
    881

    Hi all.... Just adding , you are using ...

    Hi all....
    Just adding , you are using "atbats" in the while condition before you have given it a value..
  3. Hi all, I do tend to agree. Plenty want to...

    Hi all,

    I do tend to agree. Plenty want to toss around all the technical names for everything, rather than explaining a simple way. If I start reading and it sounds messy I move on to...
  4. Replies
    5
    Views
    701

    Hi .. And yes the rest of the loadShapes(),...

    Hi ..

    And yes the rest of the loadShapes(), functions works, it extracts the number 5 and then extracts the characters.

    One thing I may suggest is to add a statement after the "for- loop "to...
  5. Replies
    5
    Views
    701

    Hi .. I had it working as you asked, in the...

    Hi ..

    I had it working as you asked, in the basic version to make it run with the error code in there...but no display of shapes..

    You have to make sure the information is being passed to the...
  6. Replies
    5
    Views
    701

    Hi After 4 days looking, you should have an...

    Hi

    After 4 days looking, you should have an idea where the problem area is......what sort of Debug approach did you use...

    As the loadShapes() function has 3 return numbers, which was getting...
  7. Replies
    8
    Views
    4,116

    Hi all.. 1 possible issue... The if ...

    Hi all..

    1 possible issue...
    The if statement "if(prime==0)" line 43, should have opening and closing curly braces as the if contains more than 1 statement.

    John
  8. Replies
    6
    Views
    633

    Hi all.. One thing I would suggest from my...

    Hi all..

    One thing I would suggest from my limited understanding is...not to think of the (*) as being a pointer. But look at how its presented....the * character is also a dereferencing character...
  9. Replies
    4
    Views
    567

    Hi Besides any issues mentioned above...if...

    Hi

    Besides any issues mentioned above...if you wanted to get out of the loops...I can't see a reason to not use a goto . Its not the ideal choice and not a popular choice...but can't see why it...
  10. Hi .. I have looked twice now and yet to find...

    Hi ..

    I have looked twice now and yet to find a call to that function....where did I miss it ?
  11. H .. I assume as the second 'if' or 'else if'...

    H ..

    I assume as the second 'if' or 'else if' has an expresson with an additional c int....it is possible of a False result....but what is the value given if it is False....you only give a value...
  12. Thread: Pseudocode

    by JohnGM
    Replies
    8
    Views
    863

    Pseudocode

    Hi all..

    In the forum I read now and then about using pseudocode, I am curious as to which code is used and is it something you use on a regular basis.
    I have never used such a thing , the only...
  13. Replies
    11
    Views
    1,227

    Hi .. As far as I can see you are missing...

    Hi ..

    As far as I can see you are missing nothing in the strtol() fuction....I ran the code and got a number everytime, also got "123" when I tested that , but only when changed 4 to 10.... what...
  14. Replies
    11
    Views
    1,227

    Hi... Looking at the strncpy function...you...

    Hi...

    Looking at the strncpy function...you would be cpying 3 char....and yet again missing the '\0' char. which could cause you problems..
    As mentioned earlier...if you had of tested the...
  15. Replies
    6
    Views
    4,657

    Hi. Thanks for going to such effort... I...

    Hi.

    Thanks for going to such effort...

    I found a problem with the string I was using, I had a space or 2 in it that was causing an issue. Mind you I could swear blind I had tried changing...
  16. Replies
    6
    Views
    4,657

    Hi... I have put a program together, that now...

    Hi...

    I have put a program together, that now gives me similar printout as your suggestion.....Nominal Animal
    Have since found some information on HTTP commands......and understand how you came...
  17. Replies
    3
    Views
    1,319

    Hi I don't see the connection between not...

    Hi

    I don't see the connection between not having an idea for a program and the language being not Object oriented..?

    Do you have ideas using OOP......if so...why not try to do them in C..
  18. Replies
    6
    Views
    4,657

    Hi.. Thank you for the reply...now have the...

    Hi..

    Thank you for the reply...now have the Bgnet. pdf ...and going thru it... I was using dot format as in 96.126.107.76 which was not getting me far... so will work on your suggestion....
  19. Replies
    1
    Views
    496

    Hi.. Let me have a crack at this.......use a...

    Hi..
    Let me have a crack at this.......use a pointer to that string ( char *). you can then change what is being pointed to .. ie. your string
  20. Replies
    14
    Views
    7,108

    Hi.. Did you check the return values for the...

    Hi..

    Did you check the return values for the malloc() , if there is an issue with the allocation it returns a NULL....so test against a NULL..
    And why are you using a Return 1 ....that...
  21. Replies
    11
    Views
    1,115

    Hi all... A perfect example of what Salem is...

    Hi all...

    A perfect example of what Salem is tallking about.....check out Amateur Radio forums....there is plenty of developement in SDR, Software Defined Radios....it takes just 3/4-chips and you...
  22. Replies
    6
    Views
    4,657

    working out an IP address

    Hi ..

    Been trying to work out an dot style IP address, but I keep getting a 400 Bad request..
    I have tried with yahoo and seems to work ok...

    I know little about the internet...
  23. Replies
    4
    Views
    1,199

    Hi... Well ya learn something new...

    Hi...

    Well ya learn something new everyday....thanks whiteflags

    I knew BUFSIZ had to be something, with the Capitals.....don't remember ever seeing it used.
    As for sizeof.......it was not...
  24. Replies
    4
    Views
    1,199

    Hi... Also, just going through the lines... I...

    Hi...

    Also, just going through the lines... I find "char line[BUFSIZ]; " what is BUFSIZ, no declaration or initialising .
    Some brackets around " sizeof()...needed.
  25. Replies
    4
    Views
    929

    Part 2... the buffer has hex data of 45 00...

    Part 2...

    the buffer has hex data of 45 00 00 38, the 45 is split into a 4 and 5, but when casting into a structure it reverses....what am I missing... this is an Internet Header...first...
Results 1 to 25 of 63
Page 1 of 3 1 2 3