I don't even know what to say about this, but why is it there? I wouldn't think this would even compile o_O;
Edit: using namespace std; is generally bad practice aswell.
Type: Posts; User: Okiesmokie
I don't even know what to say about this, but why is it there? I wouldn't think this would even compile o_O;
Edit: using namespace std; is generally bad practice aswell.
Importing the entire namespace is generally not reccomended.
I'm pretty sure that Mario 64 shipped with the N64, for a little while atleast.
Why not just define it as: deck_t create_deck(deck_t *deck_ptr) ?
Also, syntax errors here:
for (j = 1; j < 14; j++)
{
deckptr -> value = j;
deckptr -> suit =...
Which search terms would you have searched for, being him. He described it as a function list/reference. He didn't know what it was called, obviously. An annoying forum troll is all that you are.
If you are using the ++ operator before the variable name, the first thing that happens is the variable is incremented. Which is the exact opposite of using ++ after the variable name, it will...
Google is not the answer for this. MSDN is.
http://msdn2.microsoft.com
x_x Thought that was the original poster replying to:
What a waste of a long helpful post :(
if you're talking about addresses, you would have to do something like:
unsigned long ValueAtAddress = (*(volatile unsigned long *)0x0000000D);
But you have to be sure that your program has...
Wrong library to be using with printf() and scanf(). Try stdio.h instead.
You need to either allocate memory to store the string, or store the string on the heap using a predefined array.
...
Hello, haven't been here in a few years, but I was just browsing through the C Tutorials and noticed that in this one: http://www.cprogramming.com/tutorial/c/lesson9.html people are instructed to use...
read the board FAQ
Oopps, in the post i Said "C tutorials" i ment "C++ Tutorials"
you are at a place that has C tutorials:
http://www.cprogramming.com
you _could_ make the text white, wait awhile, make the text grey, wait awhile, then make the text black, that would give you the illusion of fading
>> using namespace std;
he doesnt need to use std:: if he declares the namespace
Go look at the source code to my s00per l337 Operating System ;)
http://www.SteveOS.tk
oh woops, i mis read the question, sorry.
is cprintf() the same as printf()?
if so,
cprintf("%d", number);
>> on NT cored systems, it is user specific.
Thats true, on NT, 2K and XP, you have to get the username, and then put it in "C:\Documents And Settings\USERNAME\Start Menu\Programs\Startup\" (is...
yea, my mistake, they are both correct
Oh, there is a strcmpi(), ive always used stricmp()
you dont need to use strupr(), there is a version of strcmp that is not CaSe SeNsAtIvE, its stricmp()
>> use strcmpi().
typo? its stricmp()