hmm... ok, that clears the fog a little. As for being 'discovered', I'm just aiming for something I could do to prove to myself, that I havent been kidding myself all along thinking I will go places...
Type: Posts; User: SG57
hmm... ok, that clears the fog a little. As for being 'discovered', I'm just aiming for something I could do to prove to myself, that I havent been kidding myself all along thinking I will go places...
Hi.
Currently, im a 14 yr. old 9th grader, Im taking the only programming course my school has, and thats with VB.net. I know C, some C++, and little MIPs Assembly. (scripting wise i know Lua,...
AKA
do { ... } while( conditional statement )
EDIT
Have you defined your functions? That snippet there just declares them...
Yes - im still having trouble... Only this stair case effect :(
Im seriosuly considering just making an app compilable via Dev-C++ MinGW compiler, that will take whats in the lvl file, and reverse...
Yes, the map is 29x19 (29 over, 19 down). Using your method, it didnt perfect it (yet it made it look better, as if it took away one of the 2 characters causing the extra step like look). So, ive...
lol the row of chars was an example, the first level is the following:
##### ## ## # #
##### ##### ##### ######## ##
##### ## # ## #### ###
######## ## ## ##### ### ####...
X(
I know your right. Just about everyone here is more experienced in C than I... I just need to see a game's source that uses this method of transforming a 1D array into a 2D array. Either way,...
Laserve - If you re-read the foot note on my last post, i specifically said everything I try doesnt work - meaning ive tried multiple times with no success.
Akak - Ive already tried that to no...
Im still having problems with it. I can get it to display like this:
***
* **
** *
***
But not likes its supposed to:
Just tried it. Dont think it works as its now altered it sideways....
Hello.
Im making a game for a certain community and I can load in these map levels. Each level is exactly 592 bytes -
30x20 (30 chars to the right, 20 down) + end of line char and '\n' char....
Also, to optimize it a bit more - try using switch statements rather than a large quantity of if ... then ... else statements.
[Linker error] undefined reference to `__fxstat64'
[Linker error] undefined reference to `__fxstat64'
[Linker error] undefined reference to `mmap64'
[Linker error] undefined reference to...
Hey, not to be a bother, but Ive tried compiling this into an executable using Dev-C++ and get 4 undefined errors im stuck at. Something with the Large File System functions, and cant get around it...
HA I love getting you guys talking and informing me on the good and bad :-)
Oh and I have to ask, what is AT&T syntax?
Is it worse the java?
Isnt C just a higher level ASM?
Sorry for the off topic question, just i dont feel like googling it :P
Hey thx, that helps alot.
Now i need to set a line in the array, and be able to edit it...
Ill come back here if i run into any problems.
Or if anyone has a hint for me to do such a thing,...
oh, ok thx alot.
Its just I noticed when googling that 'auto' declares things as local in a function. So I thought why not test it out. I wont use it again though.
Ok, the printing of hex is...
thx for the hint, i have it working printing hex (kinda, it messed up a little, like combines line 3 with line 1.. and prints out line 1 holding all the data) but trying to write hex doesnt work, it...
I know, but arrays can be just like dimensions in real life. Isnt there a way to simulate it somehow? How 1d is like a string (a line) while 2d is like a square (down adn across) and 3d is like a...
wait, how can you simulate a 4d+ array? Make a 4dimensional world?!
Isnt 4d time, 5d space, 6d amtter, 7d i have no clue... but im gonna google it.
Ive written a short and simple DOS General C program (Dev-C++) to lsit the files in my working directory, then read and print out the hex of any file name entered (it takes the file entered, reads...
Is it possible to have a 3+ dimensional array?
I think a 3d array would work when working with 3d, but 4d+? Wouldnt that defy the laws of physics or something? What would it look like?
Well, Im just going to set the values in my structure to 'LineAndRow[line#w/eHere], LineAndRow[line#w/eHere], ect...
I found my crashing error, it was the print LineAndRow... I was printing an...
Yes, I know a for loop is the most common... So... I hope you dont mind I express and dump my thoughts here for later recap...
-ok, I'll go through the config file once, labeling each 'fgets()'...