General C++ Programming - April 2014 (Page 26)

by Cpper
C++ Run C++?
 
Like if I made a textbox. And I type something in it and then I click execute can C++ Compile the text in the textbox? If it can how?
[1 reply] : You need to send the text to a file and save it as .cpp, you then need... (by Mats)
by y510
Array Changing Program. Suggestions or ideas please! Help?
 
I need a program that allows user to change the array of text by entering a single character like 'c' as the first input. Followed by the total number of text l...
[3 replies] Last: Read the string into a 2 dimensional array of chars. Then use a pointe... (by CodeGoggles)
How to move object from right to left automatically and opposite???
 
Hello everyone, I'm using Visual C++ 2010 and SFML game library. I want to know how to move an object from right to left automatically and back left to rig...
[2 replies] Last: Thanks for help! This guy on YouTube may be really helpful (by jackblue2009)
by atee
Linking problem: unresolved external symbol
 
I'm having a problem linking in C++ I have my cpp file named as : XYZ I have another header file and a corresponding cpp file which I’m trying to link. w...
[7 replies] Last: [quote=atee]Thermal_Utilities.lib [quote=atee]Thermal Utilities.lib ... (by MiiNiPaa)
.h file vs .cpp file
 
Hey guy i am little concern about QT .it has 2 files first one is .h file and the next one is .cpp file. there for i would like to know the difference betwe...
[2 replies] Last: Thank you sir (by Optimuskck)
assigning prime number to an array problem
 
I want to assign prime number to the element of an array. #include "stdafx.h" #include <iostream> #include <conio.h> //For Console Input/Outp...
[2 replies] Last: Sane indentation would be nice too. You do already some prime-like op... (by keskiverto)
by bido75
need help with an assignment
 
Fluid flowing through a pipe can flow in a smooth, constant manner called laminar flow; in a chaotic manner called turbulent flow; or in an intermediate stage b...
[1 reply] : Simple if statements, shouldn't take up to 10 lines of code. What are ... (by Smac89)
rty
 
=fd
[6 replies] Last: string addLargeNumbers(const string& lhs, const string& rhs) //... re... (by MiiNiPaa)
please help.
 
hello, i am have trouble with a program i wrote and can not get it to compile. #include<iostream> using namespace std; void reverse_string(char); int main() ...
[2 replies] Last: ya i figured it out the mystring ='n'; didnt need to be there. thank... (by MaseratiDeluxe)
maths inside a torus (donut)
 
Hi! I'm trying to verify if I have the correct formula to determine whether a (x,y,z) coordinate is "inside" a torus with a minor radius of 3 and a major radius...
[8 replies] Last: > This is more concisely written with the ternary operator: > return ... (by ne555)
[Help] Reading information out of file.
 
Hello everyone, I need to read some infos out of a .txt-file. The problem is that i dont know how to do because 'getline' won't work i think. the file ...
[2 replies] Last: Well yeah that is not the problem I'm sorry. I forget to mention, tha... (by wildtobias)
Help with "very fast" radix sort
 
Hi, I'm attempting to build a column based database, and I'm new to C++ (just wanted to play around with building a column base database "for the fun of it"). I...
[4 replies] Last: Hi Smac89, Appreciate the ideas, but also not quite what I'm looking ... (by SPowell42)
Should i get started learning C++
 
I am currently in year 12 and i'm doing IT as a subject for the first time and we're working on relational databases at the moment but later in the year we'll b...
[18 replies] Last: C++ is a great language but its not the best for OOP c++ is excelle... (by Little Bobby Tables)
by esapir
Generic observer pattern
 
In many cases in my application i need class A to register itself as a listener on class B to receive notification when something happens. In every case i defin...
[no replies]
by EBJ
Does Remove not work with file directories?
 
I'm using the code found on the site here: //* remove example: remove myfile.txt */ #include <stdio.h> int main () { if( remove( "myfile.txt" ) != 0 ) ...
[5 replies] Last: I see now, that makes sense, appreciate the input. (by EBJ)
by JoshV
2 Player Nim (HELP!)
 
I need help with this. I'm not sure how to declare a winner, it won't show up. Please check and see what I did wrong. Thank you all so much in advanced #inc...
[no replies]
Operator overloading problem
 
hello there I have a question that I just can't understand it's answer :S when overloading extraction operator (>>), why do I have to reference the return value...
[no replies]
by zinat
File Programming issue
 
digraph _OP_control_flow { graph [center=true, epsilon=".000001", pack=true, rankdir=LR, ratio=compress, sep=".5", size="5.83,8.27", s...
[no replies]
Need help with function prototyping
 
How do I get my program to work using the void function prototype? #include <iostream> #include <fstream> #include <cmath> #include <iomanip> using nam...
[no replies]
by EBJ
Reading values in order in file and assign.
 
My game is a sort of RPG with stats, money etc. I just recently added a save/load system using writing to a file. It was kinda over my head and skill level but ...
[5 replies] Last: Didn't know that, like I said, I was just finding examples online and ... (by EBJ)
April 2014 Pages: 1... 2425262728... 41
  Archived months: [mar2014] [may2014]

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