Beginners (Page 83)

Weird chinese characters
 
Hello, I have a Sieve of Eratosthenes c++ code that is working to show all the prime numbers unti...
[1 reply] : Could you show the code where you write to the file? If the program is... (by LB)
some weird class/struct problem
 
Hi, im having problems understanding what i did wrong on line int x = l.my_light.light_number(); I...
[2 replies] Last: Ohh :) Thank you very much man!! (by etrusks)
Pointers
 
The output contains wierd shapes .... can somebody explain? plz ... #include <iostream> #i...
[3 replies] Last: Online program for ease-of-use: http://coliru.stacked-crooked.com/a/e7... (by usandfriends)
by Gi Pa
Program that deletes the punctuation
 
Hi, I'm working on a program that deletes the punctuation, the program should get some sentence and ...
[no replies]
need help with my seconds converter!
 
hello, i am relatively new to c++ and programming in general and my professor is very vague and ofte...
[4 replies] Last: thank you! i appreciate the quick response (by calistaird)
Determining the winner of rock paper scissors?
 
In this program I am attempting to determine the winner of rock, paper, scissors. unfortunately when...
[2 replies] Last: Ah, Thanks! I guess I need to stop trying to do stuff that early in th... (by Comicalizard)
I hate using pointers, but what else can I use?
 
I designed a class, in which, I have a member function will need to use other same class type object...
[9 replies] Last: I hate pointers too: http://www.lb-stuff.com/pointers (by LB)
Input Validation (don't know what I did wrong)
 
Hello guy, I'm new here I finally got figure it out how to stop infinite loop when I input a charac...
[3 replies] Last: See if this helps at all: http://www.lb-stuff.com/user-input (by LB)
SOLVED
 
SOLVED
[1 reply] : you will need a cout endl after each calculation in the loop and add s... (by chouhaizi)
by Bjord
cannot open output file \\bin\Debug\Code:Blocks SFML Template.exe No such file or directory
 
I recently installed code::blocks, and it appears to be working fine. It is able to run a "Hello, w...
[4 replies] Last: Thanks for catching that! That fixed it. (by Bjord)
by camk16
Trouble with "pow" function
 
I know posting a new thread for the same question is frowned upon around here, but I stopped getting...
[2 replies] Last: Don't you mean the sum from i= 1 to n of (i+i 2 )/3? The sum for i=1 ... (by dhayden)
by alexBB
Extracting real part from complex number. Part II
 
I just had a thread closed on the subject (FFT): http://www.cplusplus.com/forum/beginner/159038/ T...
[3 replies] Last: #include <cassert> #include <vector> #include "complex" // non-stand... (by keskiverto)
Assignation with an array
 
hi, i try to assign a value to an array type //in my .h file array<CompartmentTissue, MAX_TI...
[3 replies] Last: Get rid of the new in your first post, and see if it works. the new ... (by Ganado)
operator of "*" must be a pointer
 
Why do I get operator of * must be a pointer error when I write this code? uint32_t a = 0x40...
[2 replies] Last: a is not a pointer so you cant do *a =. to put it simple *a means set... (by Precious roy)
C++ for a thirteen year old (1,2,3,4,5)
 
Hi! So, I am a thirteen year old, who wishes to try out C++. I entered the world of programming whe...
[95 replies] Last: Alright that is great because the next section is all about pointers. (by GreatBlitz)
A little help here please!!!
 
Hello guys.I have made a program that asks the user to type his/her name and password.It will contin...
[3 replies] Last: When validating input, I often find it easiest to break out of the loo... (by dhayden)
Is there a virtual constructor?
 
I encountered a problem like this in my project: I designed a base class: class base { public: ...
[3 replies] Last: > I searched web about your method of protected constructor, it is sai... (by JLBorges)
New to Network Programming
 
HI All, I have a 10 +years Networking Experience. I don't have any programming background. I am i...
[1 reply] : http://www.cplusplus.com/forum/lounge/85135/ http://www.cplusplus.com... (by anup30)
by TeeK
Simple do while loop wont work
 
Im a beginner trying to learn c++ on my own. The program is a soda dispenser that gives you whatever...
[2 replies] Last: Ahh ! thanks... it worked great after some edits. I discovered my prog... (by TeeK)
by GunR
terminate called after throwing an instance of 'std::invalid_argument'
 
So I'm having a weird issue, The compiler doesn't seem to like it when I use stoi in my current proj...
[2 replies] Last: Oh god I'm dumb, I think I forgot to add the .txt file I want to use i... (by GunR)
Pages: 1... 8182838485... 99
  Archived months: [feb2015]

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