Beginners - July 2012 (Page 40)

by Edos
Array of classes and error
 
Hello my fellow programmers I'm writing a little program for omnet++ using C++ and I'm having a lit...
[3 replies] Last: Thanks for your answers. (by Edos)
convert 03 May 2012 format to 03-05-2012
 
I saved 3 May 2012 inside a text file and i want to convert it to 03-05-2012 format.. so far i can o...
[6 replies] Last: No, sorry, what I'm doing is NOT a strcpy. What i did will copy the te... (by S G H)
delete record function
 
Hey Guys, I need some help for my delete function. would you please have a look at my code and gi...
[2 replies] Last: Thanks! I removed it and changed the file definitions to ofstream r... (by OSSGeek)
by djru
I am unsure why I am getting unable to resolve identifier error
 
I've started a new project where I have to read id numbers and grades from a file, and place informa...
[3 replies] Last: It was late please forgive me hahaha, no data type, or semi-colons, i ... (by djru)
Shift Encryption Error
 
I am working on a program that will use a shift to encrypt a string from a file. I thought that I ha...
[no replies]
by pep
using function prototype to sort array from a file containing 2 columns
 
Hi I am trying to do a program that can sort array data from a file containing two columns.After so...
[2 replies] Last: James2250 can you please tell me how ,am just new in the forum so i do... (by pep)
error reading datas from text files
 
a have a text file which include a few lines and one of the line is int.. while i tried to get the d...
[15 replies] Last: ha ha ok.. what time in your place? Mine is 11:15pm..... i will try yo... (by ethan86)
My Program Does Not Calculate Percentages Properly
 
I was trying to do one of the exercises provided on the website (the one that tells what grade you g...
[4 replies] Last: I noticed it fixed the percent function, but i didnt know how. I didn'... (by flamesscarlet)
const MyStruct in a namespace
 
Hello i am trying to make my code more editable and more Object Oriented. I want to have a const st...
[13 replies] Last: Hello, I have take a look at this solution with the constexpr keyword.... (by stoffe1100)
covert May to 05
 
I will get data from text file. If let's say 03 May 2012 i want to convert it to 03-05-2012. Please ...
[no replies]
by Floyd
How to access predefined bit range in Bitset - container
 
Hello fellow programmers! I´ve been struggling recently with accessing bit ranges in bitset-cont...
[11 replies] Last: Firedraco just opened my mind. I did exactly like he said. I used stra... (by Floyd)
Error Vis
 
Hey Greeting everyone I am getting an unusual error in my following program. #include <iostream...
[2 replies] Last: thanx a lot!!! :) really thanx learnt new thing thanks :D (by lordfarhan40)
Using User- Inputted Variables in Main in another Function
 
Hello, I've just starting learning C++ and I'm having a lot of fun messing around with it and creati...
[3 replies] Last: Thanks alot that clarified quite a bit of stuff. I appreciate the help... (by b6002177)
by Ch1156
Can i do something like this?
 
I know how to refrence variables but i was wondering if i could do this or something like it without...
[3 replies] Last: The compiler says clear enough that variables used in the call of func... (by vlad from moscow)
C2062 error with power function
 
Hey - I wrote a program that works perfectly fine. It tests numbers to see if they are prime, spe...
[7 replies] Last: Forget it, I don't need to worry about calling a 64-bit power function... (by nullcoding)
Undeclared identifier driving me nuts
 
Before I start let me state that the program is in C (not C++). I find myself unable to eliminate...
[2 replies] Last: I feel like a complete idiot. I poke a bit around and apparently my co... (by SilverThorn)
calculator that uses switch and private class
 
hello, I'm studying c++ and I'm trying to make a calculator that uses a switch statement and public/...
[3 replies] Last: thank u ill try and fix everything (by ocunder)
nested loop teach me
 
i just want to know the code for the following outputs using turbo C: Problem 1.)123 123 123 ...
[1 reply] : It shouldn't be too hard to do if you have a basic understanding of lo... (by Hippogriff)
Compiling but not running, "drunk walk" problem
 
Hello everybody. I'm hoping you can help me along a little bit with a problem similar to this on...
[2 replies] Last: Thanks for the reply...I tried fixing some things. Added a loop so tha... (by not case sensitive)
Why would the dereferenced first element of a call argument pointer give me the string?
 
Here's the code: #include <iostream> using namespace std; void printName(char *str); int main(...
[4 replies] Last: No, it doesn't have anything to do with syntax. It's a carry over fro... (by impaJah)
July 2012 Pages: 1... 3839404142... 54
  Archived months: [jun2012] [aug2012]

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