Beginners - October 2014 (Page 57)

undefined reference help
 
I am doing code for my class at school and i can not seem to figure out this problem. I have never had any problems with classes and including header files to t...
[13 replies] Last: @Cire Thank you thank you very much. It was a chain issue, i never k... (by SecretShop)
Erasing vector element that is off screen
 
I am playing around with SFML, and have a small test set up where I can click on the screen and a "bomb" drops from that point towards the bottom of the screen....
[6 replies] Last: However erase-remove idiom should be preferred instead of this. It is ... (by MiiNiPaa)
Trying to make a connect 4
 
Alright, so I just started with c++; I'm using a book called "jumping into c++" and in chapter 14 they talk about pointers, pointers to pointers, etc. That's wh...
[3 replies] Last: So I've been looking on the internet, and almost everybody uses the sa... (by erik341)
the program has stopped working
 
Hi everyone! I have really big problem. I wrote myself a program which checks if number that you input is prime number. At first you have to write down how many...
[7 replies] Last: If you input 1 through 3, then j <= TabPierw on line 25 will not be... (by cire)
Invalid use of incomplete type
 
I get these errors i dont have any idea how to solve. I have searched Goolge and StackOverflow and found stuff related to this but i couldn't solve this. An...
[5 replies] Last: I fixed the issue. I selected Designer form file instead of Designer ... (by shadowCODE)
Delay function?
 
Hi all, I have just started to work with c++, and I was wondering if I could have a delay function. For instance: #include <iostream> int main() { std...
[7 replies] Last: @ anup30 Sorry I was so grouchy. (by Duthomhas)
Sort array uppercase!
 
Hi, I need to take the array of; string name = {"Bill", "Adam", "Mary", "David }; and create a function which sorts the names and puts them all in upperc...
[10 replies] Last: Yes, we support several programs for industrial controllers which uses... (by MiiNiPaa)
by Jhub
need help excluding capital letters and numbers
 
Hello, I wrote the below program to encrypt and decrypt words, words that are in lower case and no numbers or symbols. My question is how can I add to the cod...
[3 replies] Last: std::string word = "hello"; for (char x: word) { if (! (97<=... (by anup30)
linux ubuntu
 
what is the good compiler for linux ubuntu that supports c++ standar c++11
[1 reply] : GCC, most if not all distro's have it. (by megatron 0)
Help With While Loop
 
So when i run the game if you pass(p) the loop will not end and just keeps going can anyone give me advice for how to make it stop and pass back to the players ...
[1 reply] : In getResponse() you do not return c You have more problems: On ... (by coder777)
help on while loop
 
I would like to know how i can fix my code, all i have is one error (expected unqualified-id before '{' token and it highlights line 17, is my loop correct? ...
[2 replies] Last: It has nothing to do with the loop. After main() ends it looks like ... (by coder777)
Finding the roots of a function with c++
 
I have to create a program that will find the roots of a function using Newtons method. I have the code done for the most part but I cant find out what to put f...
[1 reply] : } while ( n < i && t < abs(something) ); (by keskiverto)
loop
 
What is the best loop that i need to use for this kind of situation: 1.user input the quantity for the drink/s 2.user input the flavour for the drink/s i...
[6 replies] Last: the for loop, while loop, and do while loops all have same stuff. pic... (by closed account 1CfG1hU5)
Function to display array
 
I need to create a function which takes in the data type of a string array and displays it out #include <iostream> #include <string> #include <array> ...
[9 replies] Last: Try to change void Display(string,int) to void Display(string ,int... (by LendraDwi)
2 different input values question
 
float dessert; cout << "Pick a dessert" cin >> dessert; if the user knows that they can only choose ice cream, or pudding, how can i write it so dessert eithe...
[5 replies] Last: nvm i solved it, i didnt include char as a variable (by LATCH100)
Trouble with Boolean Function
 
Hello again, I ran into another issue with a program that I cannot figure out. My program is supposed to be a guessing game. The number they should guess is 60 ...
[4 replies] Last: Okay so I need to use a different boolean variable for the function an... (by aclayton96)
having a vector read multiple data file
 
Im suppose to create a program to read a data file using vectors now what i started so far it only reads in the first number and thats all any idea on what i we...
[no replies]
Expanding an Array Function Using Pointers
 
Having some issues getting the output I desire here. My assignment is to create a function that accepts an array as an argument and creates an array that is twi...
[1 reply] : You're going to need to use some dynamic memory here in order to accom... (by cire)
How to convert "MM/DD/YYYY to "MonthName day, year" factoring leap years?
 
I've only had 4 classes about learning C++ so far so I am a very novice programmer. My prof. handed out this assignment today and I am completely lost. I have t...
[6 replies] Last: Thank you! (by azl4182)
How to display images in Turbo c++ 4.5
 
How to display images in Turbo c++ 4.5
[2 replies] Last: It's not that simple. The Borland graphic image format is not document... (by Duthomhas)
October 2014 Pages: 1... 5556575859... 70
  Archived months: [sep2014] [nov2014]

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