Beginners - April 2013 (Page 69)

Problem compiling
 
Hi! So I started using the Boost library yesterday. And I've created some code that I want to test. But I can't get it to compile. Either it can't find EvEChec...
[7 replies] Last: Hmm noticed that I can compile and build the EvEChecker.hpp with no er... (by Jonas Wingren)
How important is Style?
 
How important is style and where could i get a quick read on C++ Style? I mean...does it really matter how my program looks as long as it runs correctly and i ...
[1 reply] : But why worry about style? Who cares what a program looks like if it ... (by JLBorges)
by gokhan
help me please, so fast.
 
I could'nt write a c++ program which is; Write a function void sort2(int &a, int &b) that swaps the values of a and b if a is greater than b and otherwise ...
[6 replies] Last: I also can not write the whole program because I do not know what the ... (by vlad from moscow)
how to link library in borland 5.02
 
I want to know how to link library in Borland 5.02 I want to compile code of graphics.h file and I cannot find the option of linking
[no replies]
Any tips as to why my program isn't working?
 
The program is supposed to output a sentence backwards that is input by the user using a function.. here's what I've got: #include <iostream> #include <c...
[3 replies] Last: To output a sentence backwards does not mean that the sentence itself ... (by vlad from moscow)
by SG02
Program compiles and runs, but command window is strange.
 
The program is supposed to prompt the user for coefficients a b and c from a quadratic equation. Then it should output real or imaginary roots. Will yo...
[2 replies] Last: So please state your problem(s) explicitly. Aceix. (by Aceix)
Issues writing functions
 
My program keeps having problems initializing variables, it's pulling the error code "unable to resolve identifier." The pseudocode seems right to me so I don't...
[10 replies] Last: But what happens when (a) two of the numbers are the same - what is o... (by Chervil)
by Daleth
Pointers to functions
 
I've tried looking up forums and web articles about this, but they either focus on replacing functions pointes with virtual functions in classes or complicated ...
[4 replies] Last: Oh, okay. Thanks! (by Daleth)
Help with Vectors?
 
I'm trying to write a program where it can access a file with student ids and their names and be able to update, delete student records. I'm currently stuck on ...
[no replies]
Work with text file
 
Hello, I have a text file where in each line is 3 words and 2 int type numbers. I'm doing search by word and I want to print out to the screen the whole line ...
[no replies]
writing and reading.help
 
in my program /i want to save employees data /using fstream as file employees.txt and reading the data from the file of employees.txt to choosing the number of...
[10 replies] Last: can any on help me ? (by Man silence)
by Trowen
Struct vs. Classes
 
I'm a beginner learning C++ and I'm wondering what the deference is between structs and classes. I don't know that much yet, but they seem to do the same thing....
[1 reply] : > but they seem to do the same thing. They are the same thing. Except... (by JLBorges)
by GRDfzx
Winsock problem.
 
How I can restore a connection when the socet was closed with closesocket?
[no replies]
Help opening a file
 
I am writing a program that takes a weblog, sorts the lines numerically, collects the unique IP addresses, asks the user for a specific IP address, and then sho...
[1 reply] : Inconsistent filename here: sortedWeblog.open(" SoredWeblog.txt "); B... (by Chervil)
How does the following scan method scan a folder?
 
So for a final C++ project im working on right now for college, we need to create a program that will run through a folder and all the folders within it and cou...
[no replies]
Confused about Polymorphism
 
#include <iostream> #include "Mother.h" #include "Daughter.h" using namespace std; class Enemy{ protected: int AttackPow...
[3 replies] Last: > notice that the Ninja/Monster versions of Attack() are called even t... (by ne555)
Need help plz
 
Im lost with this problem I don't even know where to began. there any way anyone could or would be wiling to help me out. <Your full name>’s Space Travel C...
[no replies]
Search function
 
I want to show the user all available information when typing a seach phrase, but I dont know how to make c++ run the seach cycle for every letter and not only ...
[no replies]
by Devra
help with getch()
 
Hi, I'm working on a c++ program. It's a sudoku solver and till now I got it. #include<stdio.h> int sudoku ;//The array which stores entries for the sudok...
[12 replies] Last: Well... Stream operations instead of printf()/scanf(), return bool ins... (by MiiNiPaa)
by ulxlx
cin on a multiword string only returns one word
 
I'm trying to create a basic note saving program, but whenever I try to get an input it only takes the first word. Here's my code: #include <iostream> #inclu...
[4 replies] Last: you shall use getline(cin, note); rather than cin >> note; (by closed account 4GEURXSz)
April 2013 Pages: 1... 6768697071... 83
  Archived months: [mar2013] [may2013]

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