Search:

Type: Posts; User: slash.hack

Search: Search took 0.00 seconds.

  1. So how where should I get to? At least some...

    So how where should I get to?
    At least some names for other game engines, framework or language would be helpful.
  2. I didn't mention that I'm bad with C or C++ but...

    I didn't mention that I'm bad with C or C++ but the transition to XNA wasn't smooth.
    Frameworks and game engine? Please elaborate. :)
  3. Some doubts and questions [C++ to C#/XNA and Game Programming]

    First of all, I have to say I missed this place.
    I've been away because of studies, personal matters and whatnot.
    I have studied C and C++ and I know that I'm not so bad with them.
    Considering...
  4. Thread: Loop count

    by slash.hack
    Replies
    7
    Views
    1,527

    Still confused and sad about the loop not being...

    Still confused and sad about the loop not being exact.
    Also if I use the same code in the program this manner, when it decodes the program crashes. I'm clueless. Help please.


    ...
  5. Thread: Loop count

    by slash.hack
    Replies
    7
    Views
    1,527

    memcpy, that's a nice idea and its new for me,...

    memcpy, that's a nice idea and its new for me, will certainly try it.


    I used that but for some reason the program worked weirdly. It just crashed.


    I used that just for counting the loop.
    ...
  6. Thread: Loop count

    by slash.hack
    Replies
    7
    Views
    1,527

    A friend would update her status that way and I...

    A friend would update her status that way and I can't translate ASCII plainly with my mind lol
    So this is where the program came from. Nothing serious, just for kicks.
    I posted this here because I...
  7. Thread: Loop count

    by slash.hack
    Replies
    7
    Views
    1,527

    Loop count

    Long time no C.
    Well, this is a simple program just to translate ASCII codes to simple text.
    The program ran without errors, well good enough. But I'm amazed to see how many times the loop in it...
  8. Replies
    9
    Views
    3,021

    Well, yes using malloc(1) would do the job, but...

    Well, yes using malloc(1) would do the job, but still I used malloc(sizeof(char)) just to be sure.:biggrin:

    About getche, it does return an int, but int can be used in char because of ASCII, but...
  9. Replies
    9
    Views
    3,021

    Updated : #include #include...

    Updated :
    #include<stdio.h>
    #include<stdlib.h>
    #include<conio.h>
    int main()

    {
    char *c, temp; int n = 0;
    c = malloc(sizeof(char));
  10. Replies
    9
    Views
    3,021

    Dynamic Memory Allocation

    Trying to write a program that allocates memory as the user enters the number of characters, it doesn't work, where did it go wrong and why? Happy to be corrected.


    #include<stdio.h>...
  11. Replies
    3
    Views
    985

    In English please?

    Didn't understand this, especially because of the "output stream or an update stream in which the
    most recent operation was not input" part. Hope to have this simplified.
  12. Replies
    18
    Views
    4,513

    Yes, its a pain in the .... when it comes to...

    Yes, its a pain in the .... when it comes to running Turbo C in a 64 bit PC. My friends had a lot of trouble trying to get it to run, they even tried DosBox, until I suggested the DevC++, but I use...
  13. Replies
    9
    Views
    3,373

    This worked too! I replaced...

    This worked too!
    I replaced while((fscanf(fptr,"%d,",&n))!=EOF) in the above code by : while((fscanf(fptr, "%d%*[^0-9]",&n)) == 1)
    "%*" The * says throw away what is read, don't store it in an...
  14. Replies
    18
    Views
    4,513

    I'm not very experienced with pointers but...

    I'm not very experienced with pointers but looking upon your code, it seems that by

    int *ptr=( int *)1000;

    you are assigning address for an integer type data.

    ptr=ptr + 1;

    caused the...
  15. Replies
    9
    Views
    3,373

    Thank you so much for the links. I found...

    Thank you so much for the links. I found something while looking up for advanced format modifiers, upon analyzing tutorial documentation I found that it was meant for language called Pike 7.0 but it...
  16. Replies
    9
    Views
    3,373

    MK27 is there any site or resource that I learn...

    MK27 is there any site or resource that I learn about functions such as scanf() in more detail, as you have used above?
  17. Replies
    9
    Views
    3,373

    Well, I wanted the loop to end if it read EOF,...

    Well, I wanted the loop to end if it read EOF, after reading your reply it seems, fscanf just returns either 1 or 0.
    If you dont mind, can you modify the code so that this can be achieved using...
  18. Replies
    5
    Views
    1,144

    I understand. Thanks again. Lol the pic is based...

    I understand. Thanks again.
    Lol the pic is based on an album cover.
  19. Replies
    9
    Views
    3,373

    scanf() usage

    This program was basically a problem in an exam.

    "A text file contains a list of real numbers separated by comma. Write to read the real numbers from the given text file and determine average of...
  20. Replies
    5
    Views
    1,144

    Thank you for responding. Is there a way to view...

    Thank you for responding. Is there a way to view my posts directly rather than by searching for it? I have used a forums powered by phpBB, it was simpler. lol sorry about the complains.
  21. Replies
    5
    Views
    1,144

    Forum issue??

    Its weird how I can't view my own profile :/
Results 1 to 21 of 22