Beginners - April 2012 (Page 16)

by Owain
Working with single bytes
 
Hello, I am trying to make a class which can represent an integral or floating point variable of any size (in bytes), which contains its own operators and ways ...
[3 replies] Last: Well, there are a number of ways that come to mind. You said you are ... (by cantide5ga)
error: no match for ‘operator[]’ in ‘team[i]’
 
I'm working on a program that takes some information about members of a team using structures then displays it. My compiler is not happy about my use of bracket...
[5 replies] Last: lol (by Vlykarye)
by waxiz
Error while compiling. Need some help
 
While compiling my code i get the error message stated below. It seems to be a problem with my reference to the function " plotta_histogram ", but i can't find ...
[3 replies] Last: Oh so stupid i feel right now :P (by waxiz)
Some little help please!
 
Hi ppl, i´m new here and i dont understand almost nothing about coding (just a bit of VB), i just read a try to understand the codes of this and that and ap...
[no replies]
Friend Function
 
How would you create a friend function for cout and cin? It is for an assignment but I dont know how to start.
[5 replies] Last: Oh thank you very much! (by blaze41)
by Baso
Esc and switch
 
I'm trying to catch the Esc key but I don't know how to do that So here is my code describing what I want to do #include <iostream> #include<stdio.h...
[3 replies] Last: @ cantide5ga && @ whitenite1 Thanks so much guys that solves the p... (by Baso)
c_string vs string (1,2)
 
Hi, I am using the concept of pipes in a c++ program, and the software which gets the info through pipe needs a char* script. If I understood well, that ...
[26 replies] Last: I'm not really sure if we're talking about the same thing, but there a... (by Athar)
Easy question(on memmove)..but dumb Java guy here..
 
i am a bit confused.. i have two pointers, foo1 already has stuff in it, and i want to move the contents to foo2. std::string *foo1 = ...has stuff....; std:...
[9 replies] Last: @Athar, Understood. Thanks. (by twoencore)
sorting program with a series of if's
 
hello all, I have to do a project which takes uses only if statements to sort 3 numbers into biggest to smallest. I have to admit to having no idea where...
[7 replies] Last: [quote=mattig89ch] "what is a bitwise operation?" A bitwise operatio... (by closed account zb0S216C)
The Beginning (1,2)
 
Hello guys! I am new to this forum and would like to start off by saying hello to all of you! I have wanted to start learning C++ for a while now but I have nev...
[38 replies] Last: Thanks very much. I figured out that there were quite a few places wh... (by Fumbles)
by Baso
Esc key
 
Hello everybody I just want to know how to implement the Esc key from the keyboard in a console program in which if the Esc key pressed at any time in the p...
[5 replies] Last: Qt doesn't prevent you from using the Windows API directly, and settin... (by Duthomhas)
are nested whiles possible?
 
hello all, quick question. i'm writting a program where you have to input a whole mess of numbers, then add/subtract them to get to the right output. I think ...
[4 replies] Last: \t : tab \n : new line (by Peter87)
undeclared identifier
 
So everything before this part of the program works fine, but when I compile it there is a "undeclared identifier" fail message for the line "recordCount = i+...
[2 replies] Last: You never define i in the code that you posted. Possible quick soluti... (by cantide5ga)
INCOMPATIBLE TYPE CONVERTION
 
SOMEONE PLEASE HELP. AM HAVING AN ERROR INCOMPATIBLE TYPE CONVERSION JUST AFTER MY WHILE LOOP (LINE NUMBER 56) #include<stdlib.h> #include<iostream> #...
[1 reply] : LOOK UP AGAIN HOW WHILE LOOPS WORK. AND STOP TYPING IN CAPS, FOR GOD'S... (by Athar)
Few newbie questions. (1,2)
 
I am entering the real deal- object-oriented programming. I want you hardcore programmers to answer a few questions and feed my brain for a bit.Don't go too ha...
[35 replies] Last: I guess I could take the blame for enticing the conversation. I actua... (by cantide5ga)
Help with search function and delete
 
Hi there just doing some work where i need to produce a database in C++ for DVD now I have done most of it but I’m stuck on some bits. I have split the databa...
[5 replies] Last: ye i think thats it. I was just doing some reserach. but if their is a... (by farmlord)
How to create array of my own class and access it
 
Hello, I have created class, that contains several strings. It's minor version is: #include <iostream> #include <string> using namespace std; class O...
[12 replies] Last: Why does it work? void assign(string pe,string st,string way) Becaus... (by Vlykarye)
Help needed: Target an entire Array
 
So I am trying to make a canon that shoots bullets, the only problem that I'm having is that I don't know how to move/draw the objects sprite efficently. The co...
[6 replies] Last: Actually, nevermind. I'm too busy to be on all day. Here: myBullet .... (by Vlykarye)
help!
 
im doing an assignment for college and i need some help im on assignment 2 but you will need the info from 1 also assignment 1 Write a value returning function...
[19 replies] Last: I don't know where you are storing the grade. I don't know if you want... (by Vlykarye)
Passing Structure-help
 
This toy program is simply supposed to pass a structure to the function and output what was assigned to it in the main()...but I do not know what is wrong, I'm ...
[3 replies] Last: simple enough, angry i didn't see that before, thanks! (by Jepickle)
April 2012 Pages: 1... 1415161718... 66
  Archived months: [mar2012] [may2012]

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