Beginners - September 2018 (Page 16)

Need opinions
 
Hello so after sometime with C language like 8 days? i started with C++ this is my second day and i ...
[6 replies] Last: A "real" infix calculator with parentheses and stuff is a great exerci... (by mbozzi)
Profiler Very Sleepy on Windows
 
Greetings, is anyone familiar with the Very Sleepy profiler on a Windows system? If I let it sampl...
[no replies]
Run time polymorphism not working
 
In my opinion the code should run,why is it not running? #include<iostream> using namespace std; c...
[1 reply] : prog.cpp: In function ‘int main()’: prog.cpp:20:12: error: no mat... (by Ganado)
Multiplying without *
 
Hi so im just a beginner in c++ programming and we have a task to do that we multiply 2 numbers with...
[5 replies] Last: this is similar to the powers problem. take 6*7 for example. first, ... (by jonnin)
by hanes
Wrong output with matrix program
 
Hello, I am having trouble with this program not working properly. When I set the matrix to size 1 i...
[3 replies] Last: int row = 0, col = 0; bool found = false; for (row = 0; ... (by tpb)
something missing in my "Two Stones" problem
 
Hey, I am heading into my 3rd week of CS1 so i may be missing something simple. However i've create...
[2 replies] Last: Where is your input? As mentioned by keskiverto you never get input ... (by H00G0)
by mewtoo
Conitinue without loop?
 
Hi c++ forum, I'm new to c++ and I'm having problems, I tried my best to search this forums for any ...
[5 replies] Last: 1. This was very helpful as I thought you can instantly put the formu... (by H00G0)
Append an array pointer to an vector?
 
Hello, I am using OpenGL and I have a function where you can provide vertices, these are provided a...
[2 replies] Last: Thanks, but I ended up doing this: textureTypes[triangles->rendertex]... (by closed account ENRX216C)
[c++] Bank Queue Simulation & Supermarket Queue Simulation
 
Does anyone done project as title which can share me for reference? Reason being is my lecturer jus...
[1 reply] : Hello anonymous9999, Welcome to the forum. You can do a search here ... (by Handy Andy)
Confusion:Comparing a Node's String variable in a function
 
Let's say i have this node: struct Patient { string pname; string pid; string ph...
[1 reply] : void foo( const std::string & pid ) { Patient* disp = head; while... (by keskiverto)
Area of a Rectangle and Command Prompts
 
Hello, I'm completely new to this and this might be a stupid question, but when I start this without...
[2 replies] Last: Thanks for the help! (by CosmicInferno)
New desperate programmer here
 
Hello c++ members. I am Zac and this is my first post here. I am brand new to c++ and have taken onl...
[4 replies] Last: zapshe's sample is OK in terms of execution, it is very close to worki... (by poteto)
Unsigned int std::
 
Receiving unsigned int std & no instance of overload fn errors. Any insight? #include <iostream> ...
[1 reply] : size_t temp = target.find(start, delimiter); You've got the paramet... (by Repeater)
SPOJ- TWO CIRCLES
 
https://www.spoj.com/problems/SMPCIRC/ #include<iostream> #include<math.h> using std::cout...
[5 replies] Last: Ok, problem solved!!! #include<iostream> #include<math.h> using std... (by closed account 1vf9z8AR)
Initializing struct incompletely
 
Hello, is the following correct? Suppose I define a structure: struct particle_neighborlist{ ...
[2 replies] Last: Thank you! (by PhysicsIsFun)
functions (numbers)
 
if you see right under the profit/loss in the output its showing crazy number. can someone check how...
[2 replies] Last: Hello poonamp6792, When I tested your program this is what I found: ... (by Handy Andy)
distance between center of circles
 
Why is my output wrong? cin>>x1>>y1>>r1>>x2>>y2>>r2; int dist=(sqrt(pow((x1-x2),2)+po...
[5 replies] Last: Ok, I figured it out. No problem with the calculation rather another p... (by closed account 1vf9z8AR)
by Seyter
Converting units
 
How can i use the same variable like this? double km, yard, mile; //like this below ...
[8 replies] Last: @lastchance Thank you for your clarification. I know about limitations... (by codehelper)
Insert words with space between into char array
 
When I enter my address for example: Headquarters 1120 N Street Sacramento 916-654-5266 Because...
[2 replies] Last: Hello rokij6698, Your use of cin >> decision works fine for variabl... (by Handy Andy)
IDE / Compiler-setup
 
Hi there, okay, this might be a littlebit strange, but i'm a hobby-programmer using C++, but i neve...
[2 replies] Last: Thank you! I found a solution (by artganseforth)
September 2018 Pages: 1... 1415161718... 20
  Archived months: [aug2018] [oct2018]

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