Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Interests
Guitar
Favorite Tags
Member Avatar for flageolet

Hi: I want to get some movement into some words. The only things I want to change are the layervisibility and the layerposition. This code below works fine in IE and Opera, but doesn't do anything in Netscape 8 (except when watching in IE view). How come: thx :) [CODE] …

Member Avatar for flageolet
0
61
Member Avatar for flageolet

I want to create several files at once containing the same data. Is this possible? I tried using a variable in the file pointer and file name: [CODE] int tel; for (tel = 0; tel < 200; tel++) { FILE *bestand_patienten[tel] = fopen("patienten/patientent[tel].txt", "w"); fprintf (bestand_patienten[tel], "hallo"); } [/CODE] Didn't …

Member Avatar for flageolet
0
64
Member Avatar for flageolet

I would like my program to execute some code using random variables. Whether this happens is dependant of three conditions: 1) a variable (first) should be bigger than an other (second) 2) a variable (third) should be equal to an other (fourth) 3) it should check these thing maximum 5 …

Member Avatar for WaltP
0
115
Member Avatar for flageolet

Hi I have a sequence that I want to put into a seperate function: The variables I want to take into that function and back to the main function are declared globally. declaring the function and the testing variable: [code]void sanction (); int test[10];[/code] my main function: [code] int main(int …

Member Avatar for WaltP
0
116
Member Avatar for flageolet

this the full code, which works like a charm, except for the error when i close the program. (a normal 'send report' / 'do not send report' error). I've narrowed it down to one line (a variabele being read from a file -> posted in red), but can't seem to …

Member Avatar for Salem
0
150
Member Avatar for flageolet

The code below works for the first question (first half of the code), the program then proceeds to the second questin, but it never stops to await the answer. I can't seem to figure out what I'm doing wrong? Thx [code] #include <stdio.h> using namespace std; char answer; int main(int …

Member Avatar for flageolet
0
143
Member Avatar for flageolet

Why won't the 'luck' function get executed? Pasting the code of my tutorial in my compiler creates the exact same error as the little test code below: 'luck' undeclared. First use this function. I use dev c++ Thx ;) [code] int main() { printf("hellow (printed in main)\n"); luck(); return 0; …

Member Avatar for flageolet
0
115
Member Avatar for flageolet
Member Avatar for flageolet

hi these are some variables: [code] struct TIJDSTIP { int dag; int beginuur; int operatiekamer; }; struct ALLE_PATIENTENDATA { int nummer; char naam[20]; struct TIJDSTIP tijdstip ; int leeftijd; int discipline; }; [/code] first I only fill: nummer, naam, leeftijd and discipline (so the main strucure) using scanf. example: [code] …

Member Avatar for flageolet
0
107
Member Avatar for flageolet

I have made a txt file out of integers and chars that contains numbers and words. When I read the file and get to a line that contains a number, I would like to put it into back into an integer. How do i do this in c++? thx

Member Avatar for Dave Sinkula
0
137
Member Avatar for flageolet

I've set the promt window size to full screen. But now I can't return it to 'window', because it hasn't got a blue header anymore where i can acess the properties. Does anybody know how to set the console window back to 'window' when I press F9 (compile and run) …

0
91
Member Avatar for flageolet

I would like the program to repeat the "how many" question until the input is an integer: [CODE] int X = 0; number_patients: cout << "how many?\n"; if (! (cin >> X)) { X = 0; cout << "please enter a number\n"; cin.clear(); goto number_patients; } [/CODE] This creates an …

Member Avatar for Ravalon
0
86
Member Avatar for flageolet

hi I'm new to C++ and was wondering if it is possible to create variables in runtime. example: If I ask how many patiënts have to be operated, the program should create a variable for each patiënt that can contain their individual data. thx

Member Avatar for flageolet
0
91