For anyone else who cares to know:
WritePrivateProfileString() and GetPrivateProfileString() are two functions a friend suggested to look up. That produced a lot of search results and answered my...
Type: Posts; User: bliss
For anyone else who cares to know:
WritePrivateProfileString() and GetPrivateProfileString() are two functions a friend suggested to look up. That produced a lot of search results and answered my...
Umm.... okay. I got links to source code that when compiled, produces a slew of errors. I put all of the header files in the right directory, tried compiling it, nope...
All I get from searching...
So that's what I was doing wrong.
Thanks.
EDIT: Actually, I took away the quotes and it still worked. I dunno, maybe it was the lack of sleep, oh well, still.... thanks.
I'm wanting to create a C++ program that uses kind of a config.ini file.
Basically I'm wanting to have my program search through a file for [choice1] and return it's value, "thisischoiceone", in a...
You're a life saver! I was looking for something just like this.
Thanx
I wish I could've pulled that out of what you posted. A lot of that didn't make a lot of sense, ah well, I'm learnin' at least.
I appreciate the help. What you guys have is a little hard for me to decipher. (I am still very new to programming.) I think what I was looking for was something like this:
void filename(){
...
Heh, stumped by something easy again.
What's the C++ equivilant of the DOS command "type"?
I know some basic file i/o but this is a little beyond me.
Allow me to elaborate a little:
I've...
Duh, I knew that, I was testing you see! :P
(In reality, I missed the FAQ on the main page and was looking through the message board's FAQ.)
I've taken a few questions that have me stumped and put them into one thread.
1) I'm looking to make a simple timer for a program I'm writing: The program displays a character string next to a...
Made sense and answered my query, thanks.
#include <iostream>
using namespace std;
float dividethesenumbers(int x, int y){
return x/y;
}
int main()
{
I know it's an older post but I found that it was VERY helpful in the fact that it was broken down and made understandable, especially to me as a newbie to programming.
/me shows his gratitude.
:)
"Doh!!"
Makes sense now, thanks a bunch.
I'm stuck, I can find how to change the value in a single-dimension array but not a multi-dimensional one. :(
This, I know how to do:
example1[2] = 1;
This, I can't figure out: