So how where should I get to?
At least some names for other game engines, framework or language would be helpful.
Type: Posts; User: slash.hack
So how where should I get to?
At least some names for other game engines, framework or language would be helpful.
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. :)
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...
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.
...
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.
...
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...
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...
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...
Updated :
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
int main()
{
char *c, temp; int n = 0;
c = malloc(sizeof(char));
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>...
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.
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...
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...
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...
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...
MK27 is there any site or resource that I learn about functions such as scanf() in more detail, as you have used above?
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...
I understand. Thanks again.
Lol the pic is based on an album cover.
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...
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.
Its weird how I can't view my own profile :/