Beginners - July 2010 (Page 8)

Getting the System's Year
 
I'm trying to get the system's current year in integer format for a project. For that, I need to know where I can learn how to retrieve the system's time, but I...
[1 reply] : You need to pass the address of 'now' to localtime(): struct... (by Galik)
by pkjm17
What's wrong with my Overload Constructors?
 
I'm just starting out with classes in C++, and for this program, my compiler is saying my overload constructors that I have set up in the classes are incorrect....
[4 replies] Last: It' supposed to pass the the values (nouns and verbs) from whatever t... (by pkjm17)
Writing a program with more than one parameter. (1,2)
 
This entire problem has my mind completely in circles. Here's the original problem: I tried writing out the program using the logic I thought would w...
[22 replies] Last: Ok, that makes sense now. I didn't know that a void can still have par... (by xcrossmyheartx)
by Kanner
how to structure without a goto
 
I am using a DSP and am trying to be conservative on memory. I have this fairly big code block which I need to use 2 times within main program (the stuff withi...
[9 replies] Last: Yeah, sure, a struct works, too. Since classes aren't supported, membe... (by helios)
Passing Variables to functions -REEEALY STUCK :\
 
I think I'll go on a maniacal massacre if I don't find out how these things work. Kidding, although this has been driving me crazy for the past couple days :|. ...
[12 replies] Last: Yeah, that's pretty much it. Kinda went into to much detail with this.... (by Soap360)
can i get the source code from the exe?
 
Greetings, as the Title can i get the source code from the exe its self?? Thnx Regards Abanoup
[11 replies] Last: Oh, ok. I thought that you meant that a decompiler would give nothing ... (by m4ster r0shi)
by wasabi
File Handling
 
Can anyone suggest a light, simple File Handling library I can use? By which I mean a library that will allow the user to open a dialog box showing the folders ...
[1 reply] : For Windows see: http://msdn.microsoft.com/en-us/library/ms646927%28VS... (by Athar)
Constructors
 
Hey there, I'm having trouble with this second constructor, and any help or guidance would be appreciated. I'm simply clueless as to what I need to put inside ...
[6 replies] Last: The debugger should give you a call stack which points to the problem.... (by kempofighter)
stop User from using CHAR or STRING when INT is requested
 
I've noticed that my program crashes when the user enters anything other than an integer when I ask for it. (I know how to make my program reject integers I do...
[4 replies] Last: Take a look at this for an example on a simpler approach. The solutio... (by kempofighter)
by Mreza
error C2440: '=' : cannot convert from 'char [15]' to 'char'
 
Hi! I'm reza. I am writting this program: . //Just a test for: IF IF..ELSE FOR WHILE DO..WHILE; #include <iostream.h> #include <conio.h> int main(){ ...
[3 replies] Last: char order should be char order Scratch that. Use strings unt... (by Disch)
by MJR94
Difficulties with my little C++ .dll
 
I am editing one of my meshes in c++ form because of the benefits that it has to offer. However it is not that easy. I am kind of stuck. Here is my error and he...
[8 replies] Last: Sorry. I have barely any C++ experience. :/ (by MJR94)
The System Cannot Find...
 
Ok everytime i try to run ANY program, there is an error message that pops up and tells me that its unable to start my program and "the system cannot find the f...
[3 replies] Last: Geez, no. He's missing a DLL. When it pops up, write down the name ... (by Duthomhas)
What happens when you don't bind an object?
 
What happens when you call a function that returns a static object but don't bind it to a reference or pointer? Example game.h #include <iostream> class...
[3 replies] Last: It's stored in what's called a 'temporary' object and it is destroyed ... (by Galik)
sapi.spvoice in c++
 
Hi...can i output voice in c++ ? the code somethg lk tat? CreateObject("SAPI.SpVoice").Speak"I love YOU" i search from google wif tis...vbs
[no replies]
Tell me the output
 
int main() { int i=300; int j=400; printf("%d..%d); } I am getting garbage value but i read somewhere that printf takes first two assignments of the...
[2 replies] Last: I am sure you have this but you need to include the stdio header file,... (by TheEliteOne)
How to stop...
 
i am currently working on the "Grading Program" that requires an "if statement to check the input that the uses enters on a scale of0 - 100 to be able to out pu...
[5 replies] Last: Switch statement: http://www.youtube.com/watch?v=181v7ZQ2uVA Also w... (by TheEliteOne)
by mcode
How to make a 3D graph ??
 
Hi I am new to 3d programming and i have got this assignment which requires me to create 3d graph which will show the behavior of a particular signal at differ...
[no replies]
by patryk
Recursive function
 
I need to make a recursive function that returns a number to a entered power. Such as 3 to the 3rd power is 27. Here's my code so far. But I don't know what...
[5 replies] Last: @binarybob350: Don't just post solutions. (by firedraco)
how to combine 2 different text files ?
 
hello guys... i have a problem on how to arrange my data. i have 2 data in a different files.. file 1 3 1 2 file 2 4 3 2 1 2 3 4 5 6 5 3 4...
[1 reply] : Read the numbers into a two-dimensional vector and then write them out... (by Athar)
by Colby
Calculating a New position using velocity, and an old position
 
I have been working on this all week and still can't figure out how to calculate the new pixel position when i enter the starting pixel position and a velocity ...
[2 replies] Last: @ Skillless thanks for your reply. i found the simple mistakes i ma... (by Colby)
July 2010 Pages: 1... 678910... 31
  Archived months: [jun2010] [aug2010]

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