General C++ Programming - September 2016 (Page 11)

Compiling with libstdc++.so.5 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++ 4.9.4.2. 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)
by asjad
Create this program.
 
Set the series 2,4,6....18,20. into the array.Then perform processes to move the number one position...
[11 replies] Last: I agree with JayhawkZombie Realise that TheSmallGuy (aka gentleg... (by TheIdeasMan)
Triangle solving program assignment
 
So here's my code for solving triangles, the first part has no problem, but I can't figure out how t...
[1 reply] : You know the lengths of all 3, and you can compute the angles, but tha... (by JayhawkZombie)
Fastest and Efficient way of file read and write
 
What is the fastest way to read and write file in C++ ? Data is plain text (human readable) not bin...
[7 replies] Last: Controlling the size of your writes will help a lot more than you migh... (by SamuelAdams)
How can I write a driver for a custom device?
 
Hi at all! I was wondering a thing. Let's pretend I make a electronical device, like a gamepad, whic...
[1 reply] : Drivers are based on the chips, such a video, network, serial port, yo... (by SamuelAdams)
File extension change from .txt to .vbs
 
I am working on a project to change .txt files to .vbs files without manually changing the extension...
[4 replies] Last: It's Windows Batch script, not C++. What errors are you getting? (by Duthomhas)
Function Help
 
I am trying to create a function that gets the area of a triangle with the user inputting the points...
[2 replies] Last: Thanks So much! I can't believe I forgot that. (by Univcplus)
I want to return a hexadecimal
 
I want my function to return a hexadecimal value or is there a way to convert a decimal to hexadecim...
[1 reply] : An int is stored as binary. It does not keep track of what numeral sys... (by Peter87)
Recursive Function
 
Write a recursive function that takes a non-negative integer as an argument and displays the digit...
[2 replies] Last: your not calling the function correctly in the main. you need to add a... (by leon13)
September 2016 Pages: 1... 910111213... 19
  Archived months: [aug2016] [oct2016]

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