Beginners (Page 82)

by alexBB
Extracting real part from complex number. Part II
I just had a thread closed on the subject (FFT): 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] : (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)
by JB5056
Vowel Removal
I have this assignment Assignment: Write a program that prompts the user to input a string. The prog...
[5 replies] Last: I would rather stick to algorithms bool isvowel(char& c) { auto ... (by andy1992)
terminate called after instance of std::out of range what() substr?
Can anyone tell me why this code throws the error: Enter a fraction expression: terminate called af...
[no replies]
Nested Loops
Print to the screen the following sequence, namely 1, 2, 3, 4, 5, 1, 2, 3, 4, 1, 2, 3, 1, 2, 1. I k...
[5 replies] Last: I don't think so. void f(int n) { for (int i=n;i>=1;i--) for (int... (by Justin33)
Error Traping (1,2)
How can I error trap my program that allows only numbers to be enter? Thanks
[34 replies] Last: @ryanjoshiii about that try-throw-catch that i provide, im actually n... (by quisite)
Unable to get switch statement to properly call functions. Any assistance greatly appreciated!
Hello, I'm trying to write a program for my programming class using Dev C++ on Windows 7 that disp...
[13 replies] Last: Hi, You should check for division by 0. :+) Hope all is well. (by TheIdeasMan)
For loop only works half of times specified
I"m trying to count the # of successful outcomes of running a certain test (code is not given below)...
[3 replies] Last: Thanks for the tips! I guess I kind of confused for and while loops a ... (by rokujohaven)
Help With a Loop
Print to the screen the first n positive cubes , namely 1 3 = 1, 2 3 = 8, 3 3 = 27, ..., n ...
[2 replies] Last: for (i =0; i <n; i++) { Print i*i*i; } (by andy1992)
Algorithm to code design
Any idea how to implement this algo rithm using C and C++. I am a ece student with very basic knowle...
[no replies]
How would I single out the last digit of a four digit code?
I have been tasked with determining the origin of an orange. If the last digit is 7 then the orange ...
[2 replies] Last: Wow... I have no idea why I overlooked that, something so simple. Time... (by Comicalizard)
by thor36
Compiling code in CodeBlocks
Hello, I had a problem with settings, to allow the code (which uses cURL) to compile in CodeBlocks,...
[1 reply] : Hi, The man page explains things better than I can: http://linux.di... (by norm b)
Need help with function call!
After compiling i am getting a "a function definition not allowed here before a '{' token" error. Ne...
[1 reply] : Hi, You are missing the while condition for the first do loop. Don'... (by TheIdeasMan)
Pages: 1... 8081828384... 98
  Archived months: [feb2015]

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