Beginners - March 2010 (Page 11)

Multimap
 
I'm working on a project right now where my program reads a text file, and encodes the text file with the character locations from another text file. Right n...
[9 replies] Last: Oops! haha works now thank you very much. (by workman845)
Reading and writing binary file
 
Ok guys, I spent all of yesterday understanding a binary file and creating a binary file's and I have managed to understand them pretty well and found some grea...
[14 replies] Last: When I add cout's to see what the program is doing it just runs them ... (by tarheelfan08)
Essay Counter question
 
My dad gave me an assignment to do and I have no idea how to do this, I am just a beginner but this is quite difficult to do. Scenario: If you were given an e...
[1 reply] : Open the file. Read it one character at a time. If the character rea... (by jsmith)
How to convert int to char ?
 
#include <stdio.h> #include <string> #include <iostream> using namespace std; int main() { char bought ={"0"}; int intbought ={2,3,4,5,6}; char *after...
[2 replies] Last: So, if I understand correctly, you want to write each integer from an ... (by sammy34)
by mirad
difference between static and dynamic allocations
 
when writing char name and allocating "toto" for example it seems like a dynamic allocation though its static so what the difference between static and dynamic...
[2 replies] Last: yes thanks a lot the infos were quite interresting especially when tal... (by mirad)
Adding a Character input error but i need assistance
 
Hello folks, i am having trouble with this one...if i am to input a character value into an integer inside a while loop...it keeps on looping..here is a sample ...
[3 replies] Last: Oh, so you can't use c++. In that case I don't think you can use the n... (by sammy34)
by sggg
study programming
 
Hi, I've wanted to strat studying programming on my own and I'd like to recieve few books or tutorials that would help me learn. i'm most interested in C#, .N...
[2 replies] Last: The C++ Programming Language: Third Edition by Bjarne Stroustrup wit... (by attaboy)
by vlad61
learning c++
 
so i think i got the basics of "basic input and output" and when i move unto the other tutorials it begins to get a little more ... non understandable? confusin...
[3 replies] Last: Reading books is the best way to learn, in my opinion. (by moorecm)
how to understand this C++ function?
 
just start to learn C++, and sort of confusing about the following section of code: 1.int *getCharCountArray(char *str) { 2. int *count = (int *...
[9 replies] Last: when you need to show it's value, why you are using cout<<'A'-'0\'; ... (by imi)
by LEESI
If statements compiler problem
 
#include <iostream> #include <string.h> using namespace std; double ConvertTocelcius (float fahrenheit); unsigned int myStringLengthFunction(const ch...
[4 replies] Last: #include "5.01.h" #include <iostream> #include <string.h> us... (by LEESI)
by ryanma
Problem with " unresolved token" and "unresolved external symbol"
 
The whole statement of the ERROR message is "1>Trial.obj : error LNK2028: unresolved token (0A00000E) "public: __clrcall Reg::Reg(int)" (??0Reg@@$$FQAM@H@Z) ref...
[3 replies] Last: thanks for your reply, what can i do??? (by ryanma)
by vlad61
do while loop
 
so im starting to learn some loops... its a rocky start but in theory i think this should work im trying to get a repetitive addition program going. basically ...
[11 replies] Last: http://www.cplusplus.com/forum/articles/6046/ (by Bazzy)
by Aseel
Building the basics of any c++ program.
 
Good morning programmers, I'm trying to put the basics of any c++ program consists of 3 files. One for the main function, and one for class definition and an...
[4 replies] Last: I guess I found it! The problem was with the word "sort", it seems lik... (by Aseel)
reverse engineering?
 
Hello, what tool do you guys use for reverse engineering? I have not yet been able to find a tool that properly reverse engineer C++ code to UML. The best I ...
[8 replies] Last: My question was about reverse engineering tools. Not about the pertine... (by Maimaje Bello Abdullahi)
by vlad61
so...how do you write out \n?
 
seems like to obvious of a thing to be a flaw in the language so i was just wondering how would someone print out "\n" in their program? the only way i can thi...
[1 reply] : Escape the '\' like so: std::cout<<"\\n"; //this will print out \n... (by firedraco)
console programming question
 
I am working on a console application that will open a file and read input data it has a date then a price such as: 01/02/2009 22.46 it'll take the hig...
[no replies]
i dont know how to explain this
 
Hey! i am trying to write a program that would get all possible variants of four variables squared added together would make a number i mean this: the ...
[5 replies] Last: Line 13, casts the input variable to a double type and passes it in th... (by closed account z05DSL3A)
Calculator
 
A simple calculator that's my second code.What now? #include <iostream> #include <string> using namespace std; int main() { long int number; long in...
[5 replies] Last: Why can't I divide by less than zero? :(. My windows calculator says '... (by sammy34)
by noe
C++ Beginer
 
hi all, I just learn the language of c++, I am using microsoft visual c + + 2008 express edition if you have any suggestions about what should I learn first. ...
[12 replies] Last: here you go http://www.winprog.org/tutorial/simple_window.html Not... (by Hakate)
Class declaration and its name
 
Hello! I read on MSDN that: A class name whose declaration has not yet been encountered by the compiler can be used in an extern declaration. The name in...
[1 reply] : Yeah. That's also known as "forward declaring" and is a common techni... (by Disch)
March 2010 Pages: 1... 910111213... 34
  Archived months: [feb2010] [apr2010]

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