
please wait
by alzetoun1
define equation
|
Write your question here. I'm trying to define two equations(x,y) in c++, the two equations describe how the particle diffuse in magnetic filed I did not get an... |
Jan 25, 2016 at 11:52am
[17 replies] Last: For if all, the angle x should be a double. Angles in the math library... (by dhayden)
|
by antonyt
sorting string members in an array of struct
|
i am having trouble with the sortName function as it is not sorting the strings.I am weak on string sorting, havent done much work with it. Not sure what i am d... |
Jan 25, 2016 at 11:14am
[3 replies] Last: Because we have so many functions that are wanting to use the Struct.... (by cire)
|
by Jason34
Help I'm stuck!
|
Hi I'm new to C++, and I'm having an issue with this code where I need to enter information on each of the lines; however for some reason I can only enter infor... |
Jan 25, 2016 at 10:56am
[7 replies] Last: I'm obtaining my bachelors in comp sci and none of my professors hav... (by Moschops)
|
by alex067
String input
|
Is there anyway you could use a string which the user gives, and use that string to determine what function executes? So like a simple menu would usually use... |
Jan 25, 2016 at 9:15am
[9 replies] Last: Is there a lower and upper function for strings? One can loop thro... (by TheIdeasMan)
|
by Zarman
Question about numbers and strings
|
So as you guys may or may not know, there's a Project Euler task that has you find the largest palindrome of 2 three digit numbers multiplied by each other. Are... |
Jan 25, 2016 at 9:05am
[5 replies] Last: What is a (2) + a (3)?? I've never seen this syntax in c++ are you try... (by alex067)
|
by m0bb1n
Repeat section of code after IF statement
|
Hello, I was wondering is there anyway for my code to repeat a certain process again without writing it over again. Here is the part that I want to repeat. ... |
Jan 25, 2016 at 8:19am
[7 replies] Last: [quote=Zarman]There are no differences, but the string object is bette... (by TheIdeasMan)
|
by Arquon
Why cant I continue extracting values after first loop ?
|
Hello, I have to use "Data" function multiple times, but after first time using it, I cant extract any more values. Does it have something to do with it reopeni... |
Jan 25, 2016 at 6:58am
[17 replies] Last: [quote=Arquon ]I need to prototype it only if I want to do it below ma... (by TheIdeasMan)
|
Printing text on winapi gui application |
Hello everyone, I've decided to move onto GUI applications, and would like to know how to print some simple white text in the center of the screen (Hello World ... |
Jan 25, 2016 at 6:34am
[4 replies] Last: True, but that's for a simple message box, I wanted to give an real wi... (by FluorescentGreen5)
|
by alex067
Pointers, when to use syntax
|
Can someone explain to me please when you can use -> or . operator to dereference a pointer? For example, if you have NodeType *ptr = new NodeType then pt... |
Jan 25, 2016 at 5:40am
[3 replies] Last: I'll just say it simply. as you know, *ptr is the value, and ptr is th... (by Zarman)
|
by tomlu0416
Looping and Unused Variable 'ch'
|
Hello Guys: In this program I'm asking the user to input a word at least 5 characters, then a single character to show how many times it repeats in the world... |
Jan 25, 2016 at 5:35am
[2 replies] Last: #include <iostream> using namespace std; int main(){ char word; cha... (by Zarman)
|
by alex067
Do while menu
|
I'm trying to create a basic menu but I am having trouble where if the user inputs Q, it will terminate the program and execute like a statement saying "Termina... |
Jan 25, 2016 at 5:06am
[9 replies] Last: One thing though, the link you provided me to show a menu, wow it is ... (by TheIdeasMan)
|
by Namlich
2D array as parameter
|
Hi, I've been trying to solve this, but i just can't seem to figure it out. Been searching all over the web. How come this code works fine, if i put 4 int... |
Jan 25, 2016 at 2:44am
[3 replies] Last: Oh, and make the parameters to your function const as well, it's a p... (by TheIdeasMan)
|
by wilk3sy
dynamic arrays?
|
Hello all I have a question regarding arrays. Do you have to define their size during development, or can you dynamically allocate them? I've came across... |
Jan 25, 2016 at 2:32am
[10 replies] Last: See http://www.cplusplus.com/forum/beginner/182513/#msg894223 (by JLBorges)
|
by wilk3sy
char * or string
|
Hi Excuse what may be some pretty simple or dumb questions over the next few weeks from me. My mentor at work has a history in embedded C and hasn't ever rea... |
Jan 25, 2016 at 2:29am
[1 reply] : Favour std::string over dynamically allocated C-style strings C-st... (by JLBorges)
|
Basic Store |
Hello! I'm a beginner, and i'm starting to get the grasp of a lot of aspects. I'm trying to make a basic store. You have $20. This $20 is changeable, meaning yo... |
Jan 25, 2016 at 1:03am
[3 replies] Last: For starting out, don't use global variables unless your program is ne... (by Mort88)
|
by exelbeast
Sorting a string array based off of the indexes of a sorted int array?
|
Hi, I'm working with dynamic arrays and I'm trying to sort a string array based off of the indexes of an int array that has been sorted in descending order. I'm... |
Jan 24, 2016 at 11:38pm
[6 replies] Last: Thank you so much cire! That is what I needed! You got it to work for ... (by exelbeast)
|
by merdasss
please help me wirte this program
|
HI ALL! i actily wrote a program and i faced a problem right now what i need is that a program that copy a file with address below: C:\Windows\System32\te... |
Jan 24, 2016 at 9:30pm
[no replies]
|
by noodel
total beginner with while
|
Hey, can you help me with this? I know I should add more variables but I still dont know where. You are given a number and you have to find the sum of the numbe... |
Jan 24, 2016 at 9:23pm
[4 replies] Last: It's not that complicated actually. #include <iostream> using name... (by Zarman)
|
HELP ME!!!! |
#include <iostream> #include <iomanip> using namespace std; const int SIZE = 5; string getName (string message); int getValue (string message); double get... |
Jan 24, 2016 at 7:17pm
[1 reply] : Please update your post and use code tags - http://www.cplusplus.com/a... (by TarikNeaj)
|
Repeating text if statement? |
Hello, I am trying to create a program that will rate certain values with a specific number. However, there are about 200 different items that need to be rat... |
Jan 24, 2016 at 5:42pm
[5 replies] Last: double quotes ("hello world") are for strings, and single quotes ('a'... (by thecrazygerman)
|