General C++ Programming (Page 31)

Can someone please help me program this.
Your program will compute values of a formula that expresses y in terms of x. The formula is: ...
[2 replies] Last: i will i was just getting frustrated. (by marsdef12)
Using input from main function in another
I am trying to create a program that uses input from the main function in another function. I have a...
[1 reply] : (by SamuelAdams)
How to use atexit
I need to use "atexit" to cleanly terminate the execution of a program in case it is aborted. My pro...
[8 replies] Last: (by ScottScott)
One more string and char related question
#include <iostream> using namespace std; int main() { //cout << "Ivesk du string tipo...
[6 replies] Last: Have you tried typing in std::string into your favorite search engine?... (by jlb)
help with homework involving if statements
I'm having trouble with my homework in my intro to programming class. "Mark Daniels is a carpente...
[2 replies] Last: Thanks a lot AbstractionAnon. I'm glad it was a quick fix haha. I'll b... (by logdog9191)
confusion with snippet
Hi, I am confused about what data structure this code snippet is. Can someone disambiguate? HERE **...
[5 replies] Last: @ doug4 - Good catch on operator + not being a member function. I mi... (by AbstractionAnon)
Hailstone sequence
I cant figure out how to return the largest number in a hailstone sequence while using a loop and no...
[3 replies] Last: The first advice is: post a compilable code (with code tags, see http:... (by fcantoro)
program display nodes
Hello,i has create the program which display nodes with links,how to fix it,so i can display in with...
[no replies]
Compiling with instead of 6
Hello! I'm building a process that will run in several machines that have different versions of l...
[no replies]
by bozmin
Printing a variable to change it !
is there any way to print a variable, and edit it on line ???? ex: line1. string name1="Ma...
[4 replies] Last: oh, looks so easy now! i got it, thank you for your help ! (by bozmin)
Store the value of any key the user presses
Is there a easier way of detecting any button the user presses and storing it in a variable then jus...
[1 reply] : Almost always a long chain of if-statements is a bad idea. Switches a... (by mbozzi)
Beginning with DEV C++
Hello, I am a beginner with C++ and am using DEV C++ I created my very first project; Hell...
[2 replies] Last: There's a problem with the install. Your code is fine. https://source... (by SamuelAdams)
by varmak
Segmentation Fault
I'm currently trying to code a BFS styled program for an assignment of mine. Logically speaking, I t...
[4 replies] Last: show your updated code. also, comment your `shortestPath()' function ... (by ne555)
by Mak3
Pig latin Please help
Using this code i have to create a Pig Latin Converter program that will read in a file called "pigL...
[14 replies] Last: Why do you have two threads for the same problem? http://www.cplusplus... (by AbstractionAnon)
by bozmin
Changing a variable in an object
Hello, How can i change a variable that had been created through a constructor?? I have a Const...
[4 replies] Last: Hey, thank you ! here is the code : I just try to create a contact th... (by bozmin)
My code doesn't compile
Hi everybody, I have a code which I don't compile. This code is : //====================LIBRARY=...
[4 replies] Last: Compile C code with a C compiler. The C++, while close, can differ. ... (by keskiverto)
by leon13
how to rotate elements to the left in array?
im trying to rotate an array to the left for example rotateLeft3([1, 2, 3]) → [2, 3, 1] her...
[1 reply] : Line 1 should be: #include <iostream> otherwise it doesn't compile. ... (by fcantoro)
Tolong Please
1. Buatlah program untuk mengurutkan (sorting) dan mencari (searching) data dengan ketentuan sebagai...
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
expression must have bool type (or be convertible to bool)
I have been thru the other forums on this issue, but cannot find a solution to this issue. If anyon...
[3 replies] Last: Thanks!! (by joekamel12)
Object "access permission" questions
I already have a solution to this problem that will work if there aren't any other solutions that wo...
[2 replies] Last: It is an application that hosts scripts and other elements. Different... (by primem0ver)
Pages: 1... 2930313233... 39
  Archived months: [aug2016]

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