Beginners - May 2015 (Page 16)

Code Error Heelp..
 
Hey just quickly have to give this code for teacher what's wrong about this code I can't compile it....
[3 replies] Last: no worries, I've just noticed that the error message you got wasn't th... (by mutexe)
replace duplicated element of vector by other element of another vector
 
Write your question here. if i have to vectors like {3, 2, 4, 5, 1} and {1, 3, 2, 4, 5} and i need ...
[1 reply] : Please, use the code tags (and intuitive indentation) when posting cod... (by keskiverto)
What would you recommend first?
 
Hi everyone, what would you guys recommend first learning the basic of syntax or at least enough of ...
[2 replies] Last: Thank you for your reply, I'm starting to do that except I watch tutor... (by closed account yR9wb7Xj)
use of brackets after contructor and destructor
 
Hello, what is the difference between Mammal(); ~Mammal(); and Mammal() {} ~Mammal...
[3 replies] Last: Thank you very much for your responses. (by agyBeginner)
file handling
 
i am beginner in file streaming .. the question is how can i compare the information of one file wit...
[1 reply] : http://www.cplusplus.com/doc/tutorial/files/ open each file, read rele... (by mutexe)
can anyone help me to write this program please
 
hello everyone i am beginner in c++ and i am new in this site my name is mustafa i am from egypt and...
[3 replies] Last: but it doesn't work You really haven't given us enough information... (by mutexe)
Polymorphism with virtual function
 
error C4700: uninitialized local variable 'a' used in main.cpp I want to use virtal void sounds() -...
[2 replies] Last: ahh okey, now I understand! Thank you ajh32! / P (by patriic48)
by Kackel
Help summing values within an Array
 
Hello There! I've been having trouble getting the sum of values from an array. The array is filled w...
[1 reply] : void f2() { const int ARRAY_SIZE = 50; int numbers ={0}; // ze... (by closed account 48T7M4Gy)
Sum of cubes giving wrong answer?
 
The following is the program im trying to write: Write a program that asks the user to type an in...
[8 replies] Last: CodeBlocks 12.11 (by Arslan7041)
by kunz
random function
 
is the commented part correct compuer = 1+(rand() % 3);// is this part correct if (com...
[4 replies] Last: Yes lol (by kunz)
Hep with "\n"
 
So I did a program with outputs: 2 4 6 8 10 12 14 16.... 44 46 48 50. But I want a program which sh...
[3 replies] Last: ^ I think it'll look something like this. while (firstNum<=50) { ... (by Momothegreat)
Weird Function Declaration
 
I was reading Direct2D documentation, and I saw a function with the following prototype. Col...
[1 reply] : https://social.msdn.microsoft.com/Forums/windowsserver/en-US/fb220469-... (by Hippogriff)
cout to printf
 
Hi, I'm a noob (bite me!) and I'm doing a C++ exercise. How do I write this in printf()? #incl...
[12 replies] Last: Yeah, I did. Just don't have a firm grasp yet. Thanks, guys. (by BlueNowhere)
hey i need help resetting my average to zero
 
hey I'm really new to c++ and need help with a few errors I'm having in my program. the first proble...
[1 reply] : Set your lowscore variable to 100 instead of 0 or so...because your if... (by novelloff)
Counter source unicode problem
 
I cant save my counter strike source clantag = ☠Z.P.A☠ When i save it looks ": ClanTag =?Z.P....
[1 reply] : If you want to use UTF-8 with c++ you'll have to use an external libra... (by ultifinitus)
Learning to GUI?
 
I'm not quite sure what the limit for "beginner" is, so feel free to move this if necessary. I to...
[1 reply] : This transition is one of the most exciting transitions you can make. ... (by ultifinitus)
Need to see if im on right track
 
Hey Yall trying to make a Bank account program. I want to see if im on the right track. Also I wanna...
[2 replies] Last: Withdraw a l not Withdrawl It would be better to decide what makes up... (by closed account 48T7M4Gy)
Question Function and variables.
 
Hello everybody, and thank you in advance. I have a school project in which I had to write an ATM...
[9 replies] Last: you have to understand something called scope. (by novelloff)
by ohad
how do i use "gotoxy"??
 
why its not working?? #include<stdio.h> #include<conio.h> #include<dos.h> void jump(){ ...
[3 replies] Last: Perhaps you meant to have [code firstline=10] while (!kbhit()){... (by Duthomhas)
printf question
 
Is it possible to have printf format my output from 5250.000000000000 5512.500000000000 5788.12...
[1 reply] : printf("%5.1f", var); This tells the compiler to reserve 5 spaces f... (by pnoid)
May 2015 Pages: 1... 1415161718... 40
  Archived months: [apr2015] [jun2015]

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