Beginners - December 2010 (Page 29)

Compiling and executing a c++ project in VS
 
Hi guys, I am really getting crazy to execute a c++ project in visual studio.This project was downloaded as open source and didn't bring some necessary libra...
[2 replies] Last: Well, you need to make sure the dll files that came with the library a... (by Athar)
Pointer array functions
 
if I have a function that returns a pointer generated by calloc does it delete the one generated by the function when I delete the variable assigned to it. ...
[3 replies] Last: yes. for every calloc() there has to be a free(). note that not only ... (by hamsterman)
Password Verifier errors
 
This snippet will be part of a larger program next semester. I have most of the errors corrected but these few, and they are escaping my fogged brain. Thanks ...
[2 replies] Last: char string(MAX_SIZE); string is a type, this syntax looks like you... (by Toothkiller)
working with binary files
 
Hi is there standard and native code or function to image procssing; i dont want use prepared libraries like opengl or etc ofcrs i now that is a binary file ...
[1 reply] : http://www.cplusplus.com/doc/tutorial/files/ I hope this helps yo... (by firix)
string and array
 
Hi I would like to know what is the problem with this: #include <iostream> #include <sstream> using namespace std; int main() { char square ,x,y; ...
[5 replies] Last: good luck :) (by firix)
2 dim Vectors
 
Hey guys, I'm trying to create a program that reads content from a file with the following format: Title Year Gross Studio List of Actors/Actresses...
[5 replies] Last: For the moment, just consider an iterator as a type of pointer. (by freakalien)
Rainfall Statistics c++
 
Hi, I am trying to figure out a program that I have been working on. The output appears but the math seems incorrect. Would anyone point me to the right directi...
[4 replies] Last: Ok thanks slice, I will try to fix it and if I cant figure it out I... (by SFX9901)
Advice needed number prog.
 
I've changed it to what you see below. It's still not working.. help : ( Thanks #include <iostream> using namespace std; // Arrays & Functions Dec...
[2 replies] Last: Your the best thanks.. I'm gonna study this. (by davidcarela)
Trimming Rand Int Values
 
Hello. I am trying to create a program in C++ that simulates rolling dice. I am trying to create a random integer value using the srand and rand functions, but ...
[2 replies] Last: Ah wow I feel dumb. Thank you very much. (by Sindorius)
No idea why 0.83+0.01=0.839999
 
In the main program, I want to print out the value of t and the kinetic energy every 10*step only but it never prints. I found out the reason of this is becaus...
[3 replies] Last: Doubles are obviously more accurate, but they still suffer from the sa... (by jimc)
by kuruc6
Search a vector for a word (string)
 
I need to open a word list file, read it into a vector, then search the vector to see if a given word is in the file. I have most, but am having trouble with se...
[2 replies] Last: That's what I have (last function) but it will only return true if the... (by kuruc6)
Error
 
I'm trying find error in this program,but i haven't found. please help me find and correct it,and rewrite DoSort function of Class Seclection to sort de...
[1 reply] : Okay, so your assignment is to find the error and implement the DoSo... (by jimc)
String Varible of sorts
 
How can i have a user input a string and have the computer recognize it and make a logical operation?
[4 replies] Last: wow thank you. opened up many possibilities for new programs. I apprec... (by shroomdoom)
by kath09
Update attribute on Sequential File
 
Hi, I've done a program about Sequential files. One of the functions asked for Update record. I have a problem, I'm trying to create a menu(switch statement) i...
[no replies]
Batch files!
 
Hi, everytime i make a console application i have to create a batch file to execute the application to make it stay open instead of instantly opening and closin...
[6 replies] Last: You might not have known, shredded, but now that you do... :) Y... (by shredded)
by talt1
Saving to a file?
 
Hi so I'm trying to figure out how to save the input of the code to a file. How would I go about doing this? Thanks in Advance. #include <string> #includ...
[1 reply] : There's actually a section in the tutorial on this site dedicated to I... (by Albatross)
by NSH
stored dynamic array values incorrect
 
So I've been trying to figure out dynamic arrays for a Quantum Mechanics project I've been working on and am currently having the issue that when I try to have ...
[4 replies] Last: actually if you want to use dynamic arrays that you can resize on the ... (by slicedpan)
Array output incorrect
 
Hi, I'm having trouble figuring out this error.I'm reading an array from a file and displaying to the screen. My .dat file is as follows: 20 12 40 30 30...
[7 replies] Last: That worked like a charm! Thank you so much. I used Wordpad to crea... (by Zeppfan)
by Nitro
touppr() problems
 
i=0; while(sentence ) /*ciclo per implementare la funzione toupper()*/ { c=toupper(sentence ); write(fp,c,1); /*scrive su f...
[4 replies] Last: oh hamsterman tnx i don't understand how i could use that "method".. ... (by Nitro)
by crxxtc
security problem
 
i need to know why it skips automatically to the display denied function w/o looking at the user input if you need more code let me know im scratching my head a...
[7 replies] Last: Oh Yeah.. I keep forgetting that about switch(). Sorry about that :p (by Computergeek01)
December 2010 Pages: 1... 2728293031... 35
  Archived months: [nov2010] [jan2011]

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