Beginners - February 2014 (Page 31)

Finding encoded names
 
I'm supposed to find the encoded names that will be generated by the compiler for the file. The problem is that I have no idea how i'm supposed to do that. I'm ...
[1 reply] : Perhaps the easiest way is to generate an assembly listing and inspect... (by cire)
Column Headers
 
Hi there, I'm basically a computer dummy taking my first computer science class. I'm working on a project that requires the output to be placed into columns. Ge...
[5 replies] Last: Awesom, that's exactly what I wanted. Thank you so much! (by Green Kangaroo)
Wrong output for loop
 
This is my output. 50 25 76 38 19 58 29 88 44 22 11 34 17 52 26 13 40 20 10 5 16 8 4 2 1 4 2 This is the output I need, any suggestions? 100 50 ...
[1 reply] : Next time please remember to use the code tags. The first problem is... (by kingkong200)
by bbb123
Question About Elementary Programming
 
I'm doing exercises in my intro to C++ book and I am a little baffled as to why the code is supposed to be the way it is. I did the example my way and the exam...
[1 reply] : I am guessing you are supposed to enter in the interestRate as a perce... (by Daleth)
ifstream
 
Hello, Consider the program successfully opened a txt file. I need to get the integers in the file and make up matrices with them but I need to verify that the...
[1 reply] : This will depend on the format of your file, but you can try reading t... (by Daleth)
Why do I need to have 1value as the left operand of an assignment
 
Write your question here. #include <iostream> using namespace std; int main() { int a; int b; int c; int d; int e; ...
[4 replies] Last: Alright, will do! Thanks again. (by cplusone)
by heston
continue and break
 
Can someone explain 'continue' to me? I believe if you are in a loop and you hit a continue, it goes back to the top of the loop right? And what would it do...
[1 reply] : Yep, continue goes back to the top of any loop. No, these statements w... (by theperson)
I added a new c++ file for my class but it isn't being recognized by inline methods in the .h file (Using Visual Studio)
 
I have a class called ProductionWorker that inherits from the Employee class. ProductionWorker started out as just a .h file with inline methods but now I have ...
[1 reply] : Solved... I forgot to uncomment the function headers in the .h file an... (by theperson)
by venros
C++ Poker - Winning Conditions
 
Hi guys, I need some help with 2 things: 1. Guidance for winning conditions, ex flush etc. 2. A way to store every used card that has been pulled up so f...
[4 replies] Last: how would I go about fixing that? I want the replace hand to go back t... (by venros)
Tron help
 
Write your question here. #include<iostream> #include<string> #include<conio.h> #include<Windows.h> #include<cstdlib> #include<ctime> using name...
[4 replies] Last: I changed a few things including removing the void and ints from the d... (by James Turnham)
Pascal's triangle
 
Could I get the logic of this program? Because I don't understand how it works and how it's done. Also why won't it cout itself in the middle? Does anyone have ...
[no replies]
by slour
Check for even values in array
 
I'm trying to write a simple program that checks the data in an array and tells me how many even values I have, this is what I have so far. When I run the progr...
[4 replies] Last: Thanks guys I got it, I had my cout statement in the wrong place. (by slour)
Multiline with Cstring library HELP
 
does anybody knows how to write multilines with cstring library, id like to know for example do a program that in wich you can write many lines of text but if y...
[7 replies] Last: Thank you , i just wanted.to.know that answer, i know.jow to.do it wit... (by closed account ivDwAqkS)
how to properly convery 1d array to 2d array?
 
I am having trouble converting 2d array to 1d array. given a 1d array unsigned char 1d = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,...
[5 replies] Last: ^ thanks, but can anyone explain why my original code doesn't work? It... (by hunkeelin)
Invalid Types Error Using Container Class
 
I'm writing a program that takes in two sets of numbers and removes all elements of one set from the other set. I overloaded the - operator in order to do this....
[2 replies] Last: What a silly mistake. Thanks! (by BreezedStars)
student information
 
A program that contains the student ID and GPA and Student gender cod (1 = male, 2 = female) and age have received the following Resources prints. 1) studen...
[no replies]
Visual Studio Ultimate 2012, Hello World unsuccesfull
 
Hey guys I decided to learn C++ and I searched for tutorials around web and this side looks perfect. I am the definition of beginner :) I used the instructio...
[5 replies] Last: Thanks a lot guys I dont know anything about R or c++ just a beginner ... (by newbyplusplus)
ANY OPENGL OR DIRECTX TUTS????????????
 
Any easy,short and good OpenGL 4.X Tutorials? If not found then 3.X. If not found then 2.X. But no 1.X tuts or before. Or DirectX 11.X tutorials. If not ...
[no replies]
remove a chracter from array
 
i have to make a function which take an in put char array and a character and it have to remove first occurrence of that character in array.how to remove a sele...
[1 reply] : i have to make a function which take an in put char array and a chara... (by kbw)
Undeclared Identifier / Identifier not found
 
Hello everybody, i am getting an error when i build my project. The build log says that SDL_WM_SetCaption,SDL_SetVideoMode and SDL_OPENGL are undeclared or that...
[no replies]
February 2014 Pages: 1... 2930313233... 60
  Archived months: [jan2014] [mar2014]

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