Beginners - April 2012 (Page 53)

by TehLS
Cant solve this simple error!
 
hello everyone.. i just registered to this forum and as you can see i am a beginner.. this is my...
[1 reply] : It seems that the code is valid. Maybe the problem is hidden in header... (by vlad from moscow)
by cecc8
Hi (1,2)
 
i am a quite new and self tough of c++ and i have the following problem. i am building a class to u...
[28 replies] Last: yes ok that is what i was looking for so basically whit ss you set a f... (by cecc8)
by ozone
getting confused with dereference n pointers
 
Helo pls i am having a serious headache with pointers and dereference operator. if explain with exam...
[3 replies] Last: Thanks guys am really grateful (by ozone)
Changing characters in a File to all uppercase
 
I have been working to make all the characters in my file convert to all upper case. I have looked a...
[5 replies] Last: bool uppercase(){ try{ inputfile.open(location here); outputfile.ope... (by ui uiho)
Headers are driving me crazy.
 
I have no idea why this isn't working, although I am new to this. #include <iostream> #include <...
[5 replies] Last: You're a life saver. Thanks (by AlitCandle)
StrTk in MFC
 
Hi, I'm trying to include the StrTk library (strtk.hpp) in a MFC application in Visual C++ 10.0, but...
[no replies]
Operator assignment overloading with dynamically allocated array
 
I'm writing a class that contains a array allocated dynamic of floats. I need to implement an assign...
[7 replies] Last: you need a destructor in c++ when doing this. also might i suggest vec... (by ui uiho)
Caesars Cipher
 
So for my assignment, I have created two files, the plain text, and key. What I need help on is fi...
[1 reply] : the actually ceasar shift is +3 to each char. are you streaming from f... (by ui uiho)
Swapping a nested For statement with a nested While statement
 
I have a homework problem from my Intro to C++ class that I cannot get my head around. I am given a ...
[2 replies] Last: So I should try: #include <iostream> #include <iomanip> #include... (by Texcuda)
How to use Template class with list
 
I am stuck on how to approach this assignment. I need to create a template class that incorporates T...
[1 reply] : I need help with an approach to using iterators with this as well!! I ... (by glickmac)
Can seekp and seekg be interchangable?
 
I'm learning about reading and writing to a random access file in my C++ class. I noticed that seek...
[2 replies] Last: cool thanks. (by jokerfwb)
Simple input validation: I dont understand this code by Stroustrup
 
From his 2009 book. The problem is to get an int input from the console in range [1:10] cout "Ple...
[6 replies] Last: what would go wrong if lines 14-17 were not present. That would be... (by DexterMorgan)
getline discarding eof
 
Reading lines from file using an eofbit -controlled while loop. Last line does not have an eol ...
[2 replies] Last: Thank you, no more out_of_range error and outputs the way I want it. (by erandall)
Reference and Pointer, the same thing?
 
Hi guys, I'm a novice C++ programming taking my second term of programming in university. My teacher...
[4 replies] Last: Sad, but common problem. You're going to have to learn your teacher's ... (by Cubbi)
Encrypting and decrypting
 
What does the c++ code look like for trying to use a plain.txt and a key.txt file to do encryption a...
[1 reply] : Here is a fairly simple sample of reading data: #include <iostream>... (by bcrawford)
Constructor with array as argument
 
Hi, Quick question. If I wanted to make a constructor that takes 2 arguments, an array of ints to...
[4 replies] Last: > If you're taking in an array, you don't need an extra size argument,... (by JLBorges)
40 line code with errors on line 148?
 
Not sure why it won't compile. Usually gives me errors and highlights the lines that need work. Wh...
[10 replies] Last: The code I posted earlier ran just fine using DevC++. #include <cst... (by bcrawford)
okay the arrays are kicking my ass..
 
this progam is a multi demison array.. and i am to calculate the temperature distribution.. it work...
[2 replies] Last: i have numbers that go in to it.. the top part of the thing the temp... (by Glenda Hayes)
fibonacci
 
I have been trying to iron out these three errors for a while now and i am sure its something simple...
[1 reply] : I put a int before the fibonacci on line 70 and removed the parameters... (by bluescreen)
I have undeclared variables please read
 
basically my tax1-6 variables will not work#include <iostream> #include <string> #include <iomanip> ...
[1 reply] : And the error states that tax 1-6 are undeclared what do i do to fix ... (by Athar)
April 2012 Pages: 1... 5152535455... 66
  Archived months: [mar2012] [may2012]

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