Beginners - November 2011 (Page 38)

help
 
I'm a new programmer ! I want to run the hello world. after entering the codes in the bloc not I don't know how to save the file. i'm using windows operating sy...
[9 replies] Last: however if you are writting and C, make sure you include the pause st... (by Moschops)
Mapping multidimensional array
 
Can someone help me map this array? int a = {{1,2,3,4,5},{6,7,8,9,10},{11,12,13,14,15}, {16,17,18,19,20}, {21,22,23,24,25}}; I'm thinking 1 2 3 4 ...
[no replies]
ios_base::precision
 
This doesn't seem to work for me: http://www.cplusplus.com/reference/iostream/ios_base/precision/ 21 C:\Users\Joanne Perez\Desktop\yes.cpp initializin...
[2 replies] Last: #include <iostream> using namespace std; int main(){ double ... (by joannfrances)
by kw1991
cant get the info displaying - PLEASE HELP
 
i cant get the dob and scores to display right and also the question do you want to search for student doesnt work right. The yes option works but if i say no i...
[2 replies] Last: The yes option works but if i say no it just searches anyway The reas... (by coder777)
Data structures using c++
 
I am pretty comfortable with c++ interms of decision loops, for loops, clases and objects, inheritance, pointers. So my question is : is this knowledge enou...
[2 replies] Last: Thank You very much, masterash. Well, graph theory is also included... (by cpplover)
how does 3D animation work?
 
How does 3D animation work? is it like 2D animation were the slight difference would be that it would be the model coordinates being moved per frame. Hence the ...
[no replies]
Ceaser Cipher - small logic errors
 
My assignment was to write a Caeser Cipher which I have done. It compiles and runs fine in Code::Blocks however I have 2 small logic errors which are bugging me...
[no replies]
Help creating DLL
 
Hello, I've finished functions for the light version of my dll. I'd like to create a dll file out of my source in Visual Studio C++. I wrote the code in Code...
[3 replies] Last: Never mind, I got it working haha. I'm right pumped..first dll down, m... (by InterFiction)
a lil' problem here...hihi
 
i am having a problem with struct here...mainly at the selectionSort method..just below the main method...HELP ME PLEASE!! #include <iostream> #include <i...
[4 replies] Last: The prototype on line 19 and the implementation on line 59 don't match... (by coder777)
HELP: Reading Multiple CSV file
 
Hey guys, i'm new to c++ programming and i have stuck for few days with reading several csv file and store in different array. My codes now manage to read 1 ...
[2 replies] Last: Hbjgd, Thanks for your reply. I have added as u said. but i still cann... (by jayden118)
If....else
 
Can anybody help a full-on newb figure out why this program outputs <bad> no matter what is input. It should output <good> if <B> is input, correct? And <bad> i...
[3 replies] Last: I turned the operator into a comparison and added single quotations, n... (by jesse1221)
Character array Comparison
 
I am trying to create a program that will take an answer key to a test from a file, put it into a character array, and then take two more two dimensional arrays...
[1 reply] : I see something already: You never increment i or j: Do something ... (by Stewbond)
Need help with a homework problem on void functions.
 
Okay so for starters the problem asks me to consider the following code: #include<iostream> #include<cmath> #include<iomanip> using namespace std; ...
[10 replies] Last: Oh ok Jim finally! You are right I was supposed to have the ampersands... (by Terminus Est)
by Silkxx
Help with homework-Structures & String Processing
 
The structure that will be used in both of the programs will represent one team. It has fields for the school name, team name, score for game 1, score for game ...
[7 replies] Last: I see. Well, in that case your code post has no relevance. Start by ... (by webJose)
Representing Infinity in a String
 
Is it possible to make a string that is lexicographically greater than every other string? In other words: ((random_string <= infinite_string) == true) Fo...
[no replies]
Help with an excercise.
 
I'm learning C++ from a book and one of the excercises is this- The framing program writes the mostly blank lines that separate the borders from the gre...
[no replies]
by TimL
Program crashing when reading from file
 
For my Advanced C++ class, I am writing a program that uses a file to store information about inventory objects, and will eventually allow for the objects to be...
[3 replies] Last: Yep, it was indeed a problem with the string data member. Once I cha... (by TimL)
Class Function Error
 
Hello, I am devising a program and at the "rhs.peek(0)" part of the code located in mathvector.cpp, Visual Studio says that there is an error, "class 'mathve...
[2 replies] Last: I think you want rhs.head.peek(0) not rhs.peek(0) .... (by closed account D80DSL3A)
calling a function outside of main
 
Hello, I'm trying to write a program where a file is read, line by line, then a function is called that changes each line to a letter grade, then writes the gr...
[14 replies] Last: First off, regarding: x = int(infile.getline()); is an attempt to ... (by mzimmers)
how do i open a webbrowser to go on a site and how do i open a file?
 
how do i open a webbrowser to go on a site and how do i open a file? how do i get a .bat to open when some one clicks my .exe i wrote in c++.Also can you giv...
[no replies]
November 2011 Pages: 1... 3637383940... 65
  Archived months: [oct2011] [dec2011]

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