what is the difference between the fopen and open functions?
Type: Posts; User: ygfperson
what is the difference between the fopen and open functions?
It's been a long time indeed. I want to look into the song signature stuff too... there's so much I have to learn though.
Maybe it's a security problem, a lack of permissions. I think the port required to see the folders and the port required to transfer information is different (as in, one uses the UDP protocol and the...
You can't really measure that kind of performance in seconds like that. You also have to measure how much your program grows over time, if it slows down noticably, etc.
A hub is a device which routes packets from the source to all the other ports on the hub. A switch is a hub which learns which device a packet is destined for, and routes it accordingly. In other...
i haven't posted here often recently, but it's sad to see you go bubba
I have a laptop with windows xp on it. The hard disk is 80 gb and was formatted ntfs. The only solution I found (short of actually paying for something) is to use qtparted, a linux program. (After...
cout has nifty type-checking. and you can define it for use with new objects you create, like string objects. anything you can do with printf can be done with cout using manipulators.
rufus wainright? my brother listens to them sometimes... it's worth a try.
as far as a suggestion for what makes a song good...something that's simple enough to be immediately grasped but also...
Well, a picture is worth a thousand words.
anyone thinking about suicide doesn't realize that there are so many options open to them besides suicide. it's amazing how little all that matters in...
let's see...
what is a binary number?
1110001 = 1 * 2^0 + 0 * 2^1 + 0 * 2^2 + 0 * 2^3 ... etc
you see what to do now?
are there any new kernel tools (like modprobe) that need to be upgraded for 2.6 like there was back from 2.2 to 2.4?
you're better off following some on-line tutorial than asking us. We specialize in specific questions.
Maybe *date1 is an address?
To return arrays you need to malloc them (or return a const char*, I think, don't trust me on that.)
Nice job
I got the ti-89 last year... it's a fine piece of machinery. Where all other portable computers drop their price every year, the TI-89 is still going strong at ~$150.
Its amazing the programs you...
Just FMI, who was the host of the daily show before Stewart? Since I've been watching, it's only been Jon.
And has Stephen Culbert been there forever?
You're not gonna get a good preformance reading in each number with fscanf. Every number means the hard drive's being accessed. Even with a cache, it's still a great deal slower than reading it all...
congrats fordy.
I gotta take a look at that code... I thought mine would beat all.
//edit: here's mine, cleaned up a little
#include <stdio.h>
#include <stdlib.h>
You're supposed to use 'file' in the ofstream, not 'command'
Pot. Kettle. Black. I'm not badmouthing what you've just said, but you're arguing against such superior sounding people using a superior sounding tone.
I think the curve in school systems results...
When you say $30 or $20 or whatever, do you mean for two people or one? Twenty dollars for one person is kinda pricey. Of course, this is me speaking, an 18-year-old broke student who eats out at...
Bad luck, I guess.
Try making this
for (int i=0; i<1; i++) {
cout << rand() % 5 << endl;
}
into this:
for (int i=0;i < 10; ++i) {
cout << rand()%4 + 1 << endl;
You can only use strcat on non-constant strings. (String literals are constant, and they're anything like "this". )