Beginners - May 2009 (Page 16)

ordering of vectorial c++
 
everything well; here I am writing of Brazil and using an electronic translator for posting then please in English doesn't repair English my problem is the f...
[3 replies] Last: with relationship to the file vc is enough it creates one.txt in the ... (by helios)
Seg. Fault on cout and cin
 
Hi, Brief question: I have code that compiles without errors or warnings (using g++ on a Fedora machine in work), however when i run it there is segmentati...
[5 replies] Last: Thanks, after a rather lengthy restructure to reduce memory needed the... (by TastyRadiSkull)
I need this C++ Code
 
List of words (me) need to remove is stored in removes.txt file, the file is saved in the file data.txt. Write program implementation: a. Exclude words / qu...
[4 replies] Last: This forum is to ask question and not to give people homework like a t... (by Ashishm1995)
Quick question......srsly
 
So I typed out this code, but uncertain why the user isn't prompted to enter the values... could anyone help please? I'm sure there's redundant info in here sin...
[3 replies] Last: You have to put them like this: [co de] Your code here Anyw... (by firedraco)
by ncpual
collision detection in my c++ dodgeball
 
hey guys, i did my search before i started this topic regarding collision detection for c++ as i have some project due to hand in and found that there is a LOT ...
[8 replies] Last: heya guys seeing as has been so ages ago since my last post i figure i... (by ncpual)
how to limit text and loops.
 
Ok I am making a program that the user has to enter up to 8 digits to make a binary number so it they have to be 0 or 1. I need help in 2 spots how do I limit ...
[8 replies] Last: Get rid of lines 24 through 30. You need to test all of your cond... (by Duthomhas)
overloading operator= vs conversion operator
 
Hi all. Can someone please explain to me how the c++ compiler handles conversions between user-defined types and basic types, and vice versa, and how an overlo...
[1 reply] : Your = operator is called on the first one (since your object is on th... (by firedraco)
Stuck on 3 errors
 
what is wrong? In line 25 I get 2 errors errorc 2065 indicating index is not identified and 2143 sysntax missing semi-colon (;} before string. In line 43 err...
[1 reply] : Please use [co de][/co de] tags Line 25: cout<<"Unique Number"<<in... (by Bazzy)
by nanger
I don't what is the meaning of these errors
 
in the debugging of my program below, I found that before that the sort_merge(b,size) is about to return to the main() the local variable array b =2 3 4 5 5 7 ...
[6 replies] Last: In lines 23 and 24, you appear to be assigning an element that is out ... (by nanger)
by Bv202
Pointer to function, what's wrong with this?
 
Hi, I have this function: void randomgetal(int* willekeurig ) { for (int i =0; i < 3; i++) { *willekeurig = 2 + rand() % 5; } } The function ...
[2 replies] Last: Okay, thank you very much :) (by Bv202)
Array of Pointers to Objects in a Class
 
Hi All, I'm trying to make an array of pointers that point to an object class that I've created in another class. More specifically, I have a class "SkipLis...
[1 reply] : Solved. I had to add #include"rectangle.h" in skiplist.h... (by yomogaocho)
random number generation into text file
 
Hi all! I need to create a random number generator which generates white noise (equally distributed random numbers) into a text file as output. I thought to ...
[7 replies] Last: Thank you I've made the code more readable, but still haven't soluted ... (by Sycrupol)
by alcslt
How to walk through folders?
 
Hi, I can't find a solution for a problem why "do{ ... } while(pabaiga!=pavadinimas);" isnt working? If "pavadinimas=-meniu" it does the same just like "pavadin...
[6 replies] Last: The problem is solved! Thank you very much,Packman,helios,Duoas! (by alcslt)
by MatieA
error C2106: '=' : left operand must be l-value
 
Once again, I come seeking help from those more knowledgeable than I. Anyway, I got most of the bugs worked out of this code, but I keep getting the error C210...
[1 reply] : I found it lacking == in IF (by MatieA)
spliting a *char to int
 
Hello everyone, Im having some trouble with a bit of code im trying to write, im using command line arguments to get input from the user as options for the ...
[3 replies] Last: atoi(&(argv )) is simply a wordier version of atoi(argv +2) .... (by Hammurabi)
find a digit at position in number
 
Ok so I dont expect anybody to just give me the answer but I just dont get this at all. Im thinking this needs to be done with some kind of loop but I have no i...
[7 replies] Last: Woooooo... I took the funky loop out and it works! Thank youuuuuuu!!... (by bellaco)
c and IA32 assembly languauge
 
What is to key to translating code written in C into assembly code?
[1 reply] : Assuming you are using GCC: gcc -S file.c -o file.asm (by PanGalactic)
importing csv files
 
Hi guys. I am studying engineering and have to do a project that calls in a csv file. I have never worked with any computer programming in my life but am kind o...
[1 reply] : You have to decide how to store your CSV data. If you are sure that... (by Duthomhas)
by jayt
class question
 
I have a question.Do we have to always have one extra member function in the body of the class to conect that function to the private data of the class. cla...
[6 replies] Last: I agree. Object-oriented programming is about data encapsulation and ... (by jsmith)
by Tipps
error C2059: syntax error : 'return'
 
Ive got this error error C2059: syntax error : 'return' Ive tried looking at what people with simmilar problems have posted but it doesnt seem to help me. Th...
[2 replies] Last: cant believe i didnt spot that. Thanks alot for the help. (by Tipps)
May 2009 Pages: 1... 1415161718... 21
  Archived months: [apr2009] [jun2009]

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