Beginners - August 2008 (Page 11)

Assistance with homework prob (pseudocode)
 
Ok.. brief recap for ya, I'm new, I enjoy programming so far.. I like to learn and I recently started taking online classes to get a solid foundation. I'm curr...
[9 replies] Last: (A Human Resources Department wants a report that shows its employees... (by Zaita)
Where can I use C++?
 
Hi, I just discovered C++ today! Um..does anyone know what programs I can use C++ in, that has an output box..sort of thing? I'm trying to learn at an early age...
[9 replies] Last: The console window will disappear immediately once the application ter... (by Duthomhas)
functions
 
What happens when a function is called with only one parameter but it is decleared such as it shud be called with 3 parameters or arguments...?
[1 reply] : The simple answer is that the compiler will flag it as an error. Ho... (by Faldrax)
polymorphism
 
Am I able to do this at all? #include <cstring> class thing{ public: thing(); virtual ~thing(); void setName(char *name){strcpy(m_Name,name);} ...
[10 replies] Last: lol. so i deleted the virtual void setDisc(); virtua... (by arathalion)
by jmc
String for fscanf
 
I try to read a file with the following pattern: "a,b,c,d,e,f\n" "a,b,c,d,e,f\n" ... a = 0-8 characters should be saved in buffer b = unsigned long long...
[3 replies] Last: Width isn't even necessary, because there are never more than 8 bytes... (by Duthomhas)
Concatenate a string with an int.
 
Hello people, I'm having trouble trying to concat a string with an int type. I want to put the value of the int inside the string. The ideia is something like...
[7 replies] Last: Many many thanks, Duoas and Aakanaar. Now works perfectly... p... (by NemoStein)
Noob question: How do this work?
 
Refering to article: You want to build a program but where to start?// http://www.cplusplus.com/forum/articles/11/ class StudentEntry { public: Stu...
[3 replies] Last: Arrgs...I hate pointer. So confusing. Thx guys. (by LacViet)
by kwesi
Numerical Computation/Need for interpolation subroutine(akima spline)
 
Hi Every One, I am working on an assignment that needs to be submitted on 08-08-2008. The IDE in use is Dev-C++ 4.9.9.2. Basically, everything works well unt...
[4 replies] Last: http://www.cplusplus.com/forum/articles/1295/ Nuff Said. (by Zaita)
Read from a text file and input string somewhere in between [FINISHED - THX]
 
Hello, I am trying to read a text file using 'fstream' and writing to it at the same time. - My text file contains the names of all the 12 months in the 3 l...
[4 replies] Last: For some odd reason my 'Person_Info.txt' file is not 'good' =S Belo... (by airforce1j)
Dividing Variables
 
Hello I'm fairly new to this site and I've just completed my first program,got it working to a point.My problem is that I can't divide my variables here's a sam...
[11 replies] Last: It might depend on the system, but using alt-codes above 255 doesn't w... (by helios)
char combining
 
I am wanting to combine two variables that are used seperate. I know I will need both as seperate, but is there a way to combine them for when I will use both? ...
[4 replies] Last: You can use multiple +'s with string, see http://www.cplusplus.com/ref... (by Faldrax)
Program acting weird...
 
Hello I am new to C++ and I have been experimenting and one program I wrote acts weird... Let me post the code and then I'll explain what is happening. I ap...
[5 replies] Last: The comma operator is a legal way of putting multiple expressions in t... (by Faldrax)
problem with including
 
Hi Im making output with files. //... //lots unrelated code in both sides #include <fstream> int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPre...
[4 replies] Last: when I comment ofstream stuf program works well but its enough to #inc... (by hamsterman)
population counter problem
 
i have been interested in the game spore thats coming out soon and, i wanted to make my own text based spore game but i cant get it to count out the population...
[2 replies] Last: Hi, there are a coupel of things that need fixing, from what I can tel... (by Faldrax)
How do I do this? (1,2)
 
Ok, so I made a header file that contains a class that I wrote. In order for it to work, it must have const's defined. I want to be able to reuse this header fi...
[26 replies] Last: Lol, I appreciate the help, you don't need to show me how to do the **... (by mikeb570)
Compare
 
Well, i would like to make a program which asks the user to enter four number and i will then display the smallest number. Sadly, im stuck and i do not know how...
[11 replies] Last: I used the Karnaugh's map very much for my electronic engineering clas... (by Mitsakos)
.h vs. .hpp?
 
What is the difference? When I hover over a .h file it says "C Header File". I'm just curious what the difference is, if any, between .h's and .hpp's. Thanks ...
[1 reply] : No difference other than personal preference or convention, depending ... (by helios)
by kwesi
GSL linking error using Dev-C++ 5
 
Hi Every One, I would like to use the GSL library in an assignment. Using Dev C++ 4.9.9.2 as an IDE, I converted the 'An Example Program' from gsl-ref.pdf to...
[6 replies] Last: Yah, its a statement but the word projects got me thinking in the abov... (by kwesi)
loop problem with treadmill
 
i was trying to make a simple treadmill calculation for myself by seeing how much a person could burn in 10 15 20 25 and then 30 minutes at 3.9 calories but i k...
[6 replies] Last: thanks is finally works now i can begging expanding it from my family (by postpost)
output to cmd
 
hi Im making a windows program and it would be great to have simple output (with iostream) so i was wondering if there is a way to have a ms window and send ou...
[2 replies] Last: You can redirect the standard output to a file :) That's probably the ... (by Zaita)
August 2008 Pages: 1... 91011121314
  Archived months: [jul2008] [sep2008]

This is an archived page. To post a new message, go to the current page.