Beginners (Page 80)

Sieve of Eratosthenes code problem
Good day. I am new at c++ and while doing an exercise about the Sieve of Eratosthenes i've met a...
[6 replies] Last: Thank you very much. It helped and I understood what I did wrong. (by Pauletto)
Need a loop to display nodes of a linked list
Hello, the objective of the code is to have 11 players in a linked list. I have to have the the cons...
[3 replies] Last: Does this have to be a linked list, or have you been asked to do a col... (by dhayden)
by cibide
Can't find error
Guys, I am trying to find the largest prime of this huge number but I can't find the error on the co...
[3 replies] Last: Well, I think there's a problem with the logic, and it's one thing to ... (by tipaye)
improve it at will.
The purpose of this code is to use an array of pointers and one function that returns a pointer. Pla...
[7 replies] Last: switching to ANSI C: int main() {return 0/printf("this is a sentence!... (by MiiNiPaa)
Help with FindPrime()
Hello i have this problem with my c++ code, the code dont find the primes.. And i have no idea why.....
[2 replies] Last: Ops.. Thanks LB! (by knatte1)
Variable storage
Is there any right way to store a collection of variables inside a class? The second is a little mo...
[1 reply] : Use a std::vector in general: (by LB)
Sorting data alphabetically from a input file
Hello! I am currently writing a program that takes last name, first name , pay rate, hours worked an...
[8 replies] Last: Is it out of the question for you to use vectors? In my classes, if yo... (by closed account 3R5fjE8b)
Head assignment test issues
Just posted this question in Unix/Linux Program forum, I was not sure which one I should post in as ...
[3 replies] Last: If the first argument always has to be -n , why can't you just chec... (by LB)
For vs Iterator
I'm attempting to understand a few concepts, and think i'm on the right track, but am looking for fe...
[3 replies] Last: yes. std::string has begin() and end as member functions, and string l... (by Cubbi)
Declare dynamically and pointer notation
Objective: To demonstrate your knowledge of using pointers of the built in data types. Solicit t...
[3 replies] Last: I gave a link explaining why at the bottom of my post. (by LB)
by ace01
need help with my problem
I already done part a and i but i don't know how to do part M m. Write a C++ program that tests ...
[1 reply] : It looks like you've already done it - what are you having trouble wit... (by LB)
Regular Expressions
So, I've heard a little about regular expressions and how powerful they are, but I am unsure of how ...
[2 replies] Last: That said, only very recent versions of major compilers actually sup... (by Duoas)
by camk16
Boolean Statements (1,2)
Missed the lecture on boolean statements, can someone help me out with this: Write an if-else...
[20 replies] Last: There's a thread at the top of this forum titled "Console Closing Down... (by LB)
Problem getting information from a structure and other problems
Essentially i have created a program that read information from a file. However i am having problems...
[2 replies] Last: Thank you so much. That helped me a lot i'm still working on the code.... (by noob plusplus)
by Nanyo
sign up, login program
Hello, I am trying to figure out why my code is not working. It is a simple login and signup program...
[2 replies] Last: n Line: 66 does not work and gives me an error when I run it. The ... (by giblit)
by gsm2k
cin.get() Not working as pause. Do_while loop
Hi! Pardon my n00bness =) Im working on a school assignment, and have been trying to avoid system("...
[1 reply] : Let's say you input variables like this: int x; std::cin >> x; There's... (by LB)
Reading int values from an array and determining what range they fall between
I'm having some trouble with my programming exercise. I have to read integers from a text file and s...
[1 reply] : I don't understand how you learned about file I/O before learning abou... (by LB)
Iterating through the array
Hi, I need help with my for loop. I'm trying to read some value from the file. #include <iostrea...
[no replies]
Programming Error?
When I try to run this code (see below), I get 4 lines of: -1.#IND -1.#IND -1.#IND -1.#IND I ...
[2 replies] Last: I see the 0 that you are referring too, but I can't change that becaus... (by maximus87)
Please help with class design.
So I want to make a classic dungeon crawler in the console. Would it be bad to have each room a chil...
[2 replies] Last: Separate your code and your data. The contents and behavior of each r... (by Disch)
Pages: 1... 7879808182... 100
  Archived months: [jan2015]

Cannot post in this page. To post a new message, go to the first page.