Beginners - March 2011 (Page 15)

comparing unsigned char to hex value
 
I want to compare a unsigned char that has the hex value: 0x01 to 0x01. How would i do that? Tried...
[1 reply] : unsigned char c = 0x01; if(c == 0x01) cout << "yay"; (by hamsterman)
by ty98
how do i drow a picter in a console program
 
I need to know how to drow a image. like a circle. Do you have eny ideas?
[7 replies] Last: You CAN use SFML in a console program. The introductory tutorials at t... (by closed account D80DSL3A)
program skipping if/else statments
 
This program needs to display the integer someone enters as a word. ex. 43 = plus forty three of -...
[1 reply] : These two statements: msd = number / 10; lsd = number % 10; s... (by KAt in ThA hAt)
fstream question in program
 
I have been trying for a while to figure out how to put my program together where it writes to a fil...
[8 replies] Last: ...vaguely explain roundabout answers? 1. "How you write it into you... (by matsom)
Simple Code failing
 
I have been window gui's with winapi and game hacks, but i suddenly realized that i don't fully unde...
[3 replies] Last: Your problem is the for loop. Look here: http://cplusplus.com/doc/t... (by Branflakes91093)
C++ Test Review Help Please
 
I am in a beginning level C++ class, and I haven't been doing so well. The next test is on Thursday,...
[10 replies] Last: Write a linked list (of ints) library: create, destroy, isEmpty, count... (by hanst99)
Template Class - Method Definition Problem
 
Firstly, here is my header: namespace MBB { template < typename BLOCK_TYPE >...
[5 replies] Last: Thanks for the link, Ne555. I'll read upon that now. Also, thanks for ... (by closed account zb0S216C)
subtract new - used
 
I need to subtract the trade in price from the new car price. I'm unsure of how to get it and where...
[6 replies] Last: Ah........you're right, I must quit drinking at 9am..........hahahaha (by turbowhat)
function does not take 0 arguments
 
I don't know why i get the error "function does not take 0 arguments". I've tried to make a return b...
[3 replies] Last: You need to pass two arguments (like function(argument1, argument2); ... (by Albatross)
Command Prompt
 
There was a tutorial I was following, describing how to write code in the Command Prompt, it directe...
[13 replies] Last: Okay thank you (by STRADIGY)
struct and reading from a file
 
First problem is how I would count how many people are in a certain file when the file follows : A...
[4 replies] Last: Like Hamsterman said, you'll need an array of Nodes: #define NO... (by kooth)
by ty98
how to make a menu in a console program???
 
I need to know how to menke a console program have a menu laike a win32 proram. do you have eny i...
[3 replies] Last: In any CLI, you can just display a list of options and accept input fr... (by moorecm)
opengl question
 
This is a texture related question. When I load a bmp image and use it as texture for with GL_QUA...
[2 replies] Last: I expected what you're saying ,since Opengl is defined as a state mach... (by oldnewbie)
Palindrome
 
I am pretty close to being on track with this program, but I have been getting stuck on an area. The...
[6 replies] Last: Whoah, disordered posts. Anyways, maybe that's not part of the assignm... (by ultifinitus)
About pointers
 
Hey there. I have the following code: int *i; *i=5; This one works perfectly fine on Co...
[6 replies] Last: Really, a common C++ developer doesn't need to know how new, delete, a... (by closed account S6k9GNh0)
Insertion sort on singly linked list
 
#include <iostream> #include <fstream> #include <string> #include <iomanip> #include "StudentRecor...
[no replies]
Notepad program
 
I am having issues with a very simple notepad program I am building. The bolded line has this issue...
[2 replies] Last: Thanks that solved it. I don't know how I overlooked that. (by Caesar1)
case and function problem
 
My assignment is to work with a phone number input using 3 functions besides the main function. Whe...
[2 replies] Last: I've not seen a whole lot on switches being used, but the assignment a... (by shiyongseng)
program crashes
 
im trying to assign underscores into a string randomly but it gives out an error when i run it. im m...
[3 replies] Last: Okay ... you are misusing char arrays. Until you know more about me... (by Disch)
by Maerle
linked error
 
what's wrong with this program?? Here is the problem: [Linker error] undefined reference to `increm...
[1 reply] : You have a typo. Where you have defined incrementMinutes , you have a... (by anonymous23323124)
March 2011 Pages: 1... 1314151617... 52
  Archived months: [feb2011] [apr2011]

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