Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What is the reason behind this Pin
Billar7-Jun-04 2:47
Billar7-Jun-04 2:47 
GeneralMemory leak problem Pin
raed5-Jun-04 19:59
raed5-Jun-04 19:59 
GeneralRe: Memory leak problem Pin
Johan Rosengren5-Jun-04 21:35
Johan Rosengren5-Jun-04 21:35 
GeneralRe: Memory leak problem Pin
raed7-Jun-04 7:59
raed7-Jun-04 7:59 
GeneralFingerprints Pin
BaldwinMartin5-Jun-04 18:57
BaldwinMartin5-Jun-04 18:57 
GeneralRe: Fingerprints Pin
User 66586-Jun-04 0:11
User 66586-Jun-04 0:11 
GeneralRe: Fingerprints Pin
BaldwinMartin6-Jun-04 2:53
BaldwinMartin6-Jun-04 2:53 
GeneralReading/Writing Files Pin
gabuchholz5-Jun-04 17:19
gabuchholz5-Jun-04 17:19 
Hi, I have created a simple tetris game for a school project alogn with some firends. I currently am having a dilema. I have two problems. One has to do with the topic of this message; I am trying to write the score of the game when ever the score of the current game is higher than the score in the file. So if I played and got 1000 points then died it woudl write 1000 to a file (points.txt), and if you played after and got over 1000 it would override my score with yours, but if you got less it wouldnt... Afterwards I want to read the file and output the score within on the score as "highscore: ___". So how do I do this? Source require please... visual is new to me...I'm used to dev c++. I am lookign for a simple way of reading and writing (like adding a .h and calling on one of its functions to read or write). I know abotu fstream but I cant seem to get it to work..

P.S) the second this I was having problems with is I am lookign for a pause function....but that can wait.

Thanks in advanced
Glen Buchholz
GeneralRe: Reading/Writing Files Pin
palbano5-Jun-04 17:52
palbano5-Jun-04 17:52 
GeneralRe: Reading/Writing Files Pin
gabuchholz5-Jun-04 18:09
gabuchholz5-Jun-04 18:09 
GeneralScreen Resolution Pin
Renjith Ramachandran5-Jun-04 17:07
Renjith Ramachandran5-Jun-04 17:07 
GeneralRe: Screen Resolution Pin
palbano5-Jun-04 17:32
palbano5-Jun-04 17:32 
GeneralRe: Screen Resolution Pin
Renjith Ramachandran6-Jun-04 5:16
Renjith Ramachandran6-Jun-04 5:16 
GeneralRe: Screen Resolution Pin
User 66586-Jun-04 7:30
User 66586-Jun-04 7:30 
GeneralRe: Screen Resolution Pin
alex.barylski5-Jun-04 18:32
alex.barylski5-Jun-04 18:32 
GeneralPropertyPage, OnInitDialog, and SetFocus Pin
PJ Arends5-Jun-04 14:25
professionalPJ Arends5-Jun-04 14:25 
GeneralRe: PropertyPage, OnInitDialog, and SetFocus Pin
David Crow7-Jun-04 2:46
David Crow7-Jun-04 2:46 
GeneralRe: PropertyPage, OnInitDialog, and SetFocus Pin
PJ Arends7-Jun-04 5:17
professionalPJ Arends7-Jun-04 5:17 
GeneralRe: PropertyPage, OnInitDialog, and SetFocus Pin
David Crow7-Jun-04 5:23
David Crow7-Jun-04 5:23 
GeneralRe: PropertyPage, OnInitDialog, and SetFocus Pin
PJ Arends7-Jun-04 6:37
professionalPJ Arends7-Jun-04 6:37 
GeneralRe: PropertyPage, OnInitDialog, and SetFocus Pin
David Crow7-Jun-04 7:05
David Crow7-Jun-04 7:05 
GeneralRe: PropertyPage, OnInitDialog, and SetFocus Pin
PJ Arends7-Jun-04 7:13
professionalPJ Arends7-Jun-04 7:13 
GeneralRe: PropertyPage, OnInitDialog, and SetFocus Pin
David Crow7-Jun-04 7:17
David Crow7-Jun-04 7:17 
GeneralButton... then Text here... Pin
Member 6226665-Jun-04 13:17
Member 6226665-Jun-04 13:17 
GeneralRe: Button... then Text here... Pin
bneacetp5-Jun-04 13:26
bneacetp5-Jun-04 13:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.