Beginners - April 2009 (Page 10)

input spacing
 
I'm writing a program that organizes music. My problem is skipping white space with the input. For example; Artist Song Johnny Cash Big Ri...
[3 replies] Last: Common delimited file types in the industry are CSV (comma separated v... (by PanGalactic)
security program or login system
 
Security is a feature that is common place in all aspects of software, most commonly in “Login” applications. The aim of this part of the software engineeri...
[7 replies] Last: Making those cool stars appear is more trouble than it is worth. Neve... (by Duthomhas)
by bolx
Deleting Entries from a Structured Array
 
Hi there, i have an assignment, and i need to create a monthly expenditure. I have managed to get alot done, a fully functioning menu and all the functions. Im ...
[4 replies] Last: Let me try again. When your program initializes it reads a counter. ... (by kempofighter)
by tjinx
Multiplying and Dividing Fractions
 
I need to take an inputed fraction and multiply and divide it by another inputed fraction. Then I have to output both results. I need a multfract function and a...
[2 replies] Last: Hy tjinx! Most of your mistakes are typing errors, not that serious: ... (by andrei c)
by sparky
Deleting Text File Records
 
Hello, I am trying to write a function that searches for, and deletes, a particular record in a text file. I am trying to achieve this by creating a temporary ...
[3 replies] Last: I also tried vectors but now I am getting a "Permission Denied" error ... (by sparky)
by sobi
Program that parses a text file into words
 
Posted this yesterday,worked on the code and need some clues on this. Meanwhile i have my text file saved up somewhere else in notepad. The program is to parse...
[1 reply] : Is this a C assignment or C++? Please clarify. If it is c++, you are... (by kempofighter)
adress of different types
 
the code is #include<iostream> using namespace std; int main() { char ch='a', c='s'; int i=12; double f=1.2; cout << &i << "\t" << &...
[2 replies] Last: I don't think I quite understand what you're asking, so I'll answer wh... (by helios)
Trouble with Linked List structure program using Command Line inputs
 
For my next lab test I am required to write a DNS storage and retrival program using pointers and a linked list structure. The program is required to take an ip...
[2 replies] Last: Thanks PanGalactic Now I'm having a problem with finding a specific... (by L Plate)
How do I convert string to ASCII?
 
If the string was cab How would I convert to an ascii value so it would be 294? thanks.
[7 replies] Last: subscripting is the [ ] operator (by Bazzy)
Editing txt file
 
hi eveyone i need to edit person name or Appointmendescription but not date or time in my program. i can write all the records to the file and can read from t...
[no replies]
Point of this Website????
 
People on this site and this site..... If no one will help you with checking answers.. If you give them a answer and to check your answer... If you are not a...
[8 replies] Last: computerquip: its ok.. it happens sometimes.. i also sometimes ge... (by writetonsharma)
reading multiple lines from keyboard
 
My last project of the year requires in part that I use stacks and queues to test data from the keyboard and/or a file and determine if the input is a palindrom...
[1 reply] : getline(cin, input)? http://www.cplusplus.com/reference/string/getl... (by PanGalactic)
by masiht
.h file
 
Can anyone tell me if the following .h file is ok ? #ifndef PROGRAM1 #define PROGRAM1 cMatrix(); ~cMatrix(); v...
[8 replies] Last: thank you ! I got it (by masiht)
vector<> error
 
The following simple volcalc.cpp code compiles with no errors (and works) in Windows Visual C++. It simply sizes the "alldata" array later in the code. With...
[4 replies] Last: Wow! Thanks so much. You need ages of experience to know subtleties li... (by paolopiace)
Opening a file issue
 
Hello.. i'm a beginner in this world (c++) and i need to open a file (i know that the function to be used is fopen) but i need the program asks for the text ...
[4 replies] Last: Hello.. thanks packman for trying to help me i did whay you told me... (by wdmd1982)
by jeysel
Reverse Polarity(Magnus)
 
Hey guys, how to reverse the output?? example from: when i input: 6 6 >> composite 5 >> prime 4 >> composite 3 >> prime 2 >> prime 1 >> prime ...
[no replies]
Array Question
 
I know the answer to the following problem is 17, but I need someone to explain the process to me. What will be the contents of a after the execution of the...
[1 reply] : http://www.cplusplus.com/forum/general/10128/ The second for decre... (by helios)
by jayt
cin.ignore();
 
can anyone please tell me when and how do we use cin.ignore(); ??
[5 replies] Last: There is a reference section on this site that is quite informative. ... (by PanGalactic)
Error with mingw32
 
When I tried to compile the following project, I got this error: mingw32-g++.exe: obj\Debug\CApp.o: No such file or directory Can someone explain me why? ...
[6 replies] Last: I believe that you have to put your include definition in quotes inst... (by helios)
How do I use devpaks?
 
I have it installed, I am using dev-c++. I want to use the expat devpak.
[2 replies] Last: I have the dev-pak installed! Just, how do I use it? (by PickleMan)
April 2009 Pages: 1... 89101112... 28
  Archived months: [mar2009] [may2009]

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