General C++ Programming - October 2012 (Page 18)

fatal error LNK1120: 2 unresolved externals
 
this is my code please help me #include<iostream> #include<cassert> using namespace std; #ifndef ARRAYLIST_H #define ARRAYLIST_H template<class ele...
[1 reply] : Welcome to the crazy side of C++. http://www.parashift.com/c++-faq/te... (by Catfish2)
zlib not recognized by libpng (zlib not installed)
 
I know there are allot of posts on the web about this but I'm wondering if someone could give me a tip as to what I could do to make libpng recognise zlib. ...
[9 replies] Last: helios.. this is frustrating enough.. Do you have something you would... (by helios)
by drew99
Pseudorandom numbers
 
I found online this implementation of the algorithm in C Blum Blum Shum, for the generation of pseudorandom numbers: http://www.connotech.com/PEKEPRGM.HTM This...
[no replies]
how does this palindrome exam works?
 
h char string ; cout << "Enter a stirng : " ; cin.getline(string, 79); int len; for(len = 0; string != '\0'; len++); int i, j, flag = 1; for(i = 0...
[17 replies] Last: [quote=cire]the behavior described by the standard [quote=cire]the beh... (by LB)
Strange SFML Texture Problem in GDB
 
I have a program that compiles, runs and exits perfectly fine. When run outside of a debugger (I have tried GDB and OllyDbg), everything displays fine. When I r...
[2 replies] Last: I'll double check, but I don't see how that would effect anything. The... (by ModShop)
by tmrw
Encription/Decription code
 
I'm hoping someone can give me some insight. I am very new to C++ programing and could use some guidance. I am trying to make a program to take a line of text f...
[6 replies] Last: bool isupper (password ); bool islower (password ); is that suppose... (by Zephilinox)
writing compiler-independent code
 
Hi - I have a small program that I developed using MinGW. I'd now like to port it to MSVC; ideally, it would compile on both platforms. 1. When using MSVC...
[7 replies] Last: Thanks, modoran. So, I take it that this file doesn't live anywhere in... (by mzimmers)
Initializing string array in C++03
 
What's the best way to initialize a string array? // suppose I want to initialize s with "One","Two" and "Three". // what's the best way (minimum coding)...
[4 replies] Last: If you're thinking of doing eggs::eggs() : s{"one", "two", "three"} ... (by maeriden)
Urgent : Need help with my c++ assignments
 
Will anyone please help me ? Quite lost, leave your MSN or IM address. I will pay you if you need.. Can I check how do you retrieve the input(x,y) from Loca...
[3 replies] Last: Can anyone render any help here (by Charcoalman)
What is the mistake?
 
template <class T> class stack//Stack Class { public: T data ; int tos; stack() { ...
[2 replies] Last: The couple things I see: Template line 5, where does sos come from? ... (by AbstractionAnon)
C++ code help
 
NEED HELPP what's wrong with my code?? it doesnt work >___< please help me. #include <stdio.h> #include <string.h> int main() { int i,j,n; char a ,t ; print...
[3 replies] Last: You're using an accented quote (“), not a standard double ("). The ... (by AbstractionAnon)
without cctype header also can work?
 
I just use the header file <iostream>, but when I use toupper, it works, why? (I use the VC++ 6.0) ============= another question: I've dowloaded a Visual A...
[2 replies] Last: why I see the answer always "maybe" in iostream? Is that mean when I u... (by ylxin1993)
Solve my Tree Problem.
 
I have made a program for making and traversing Binary Search tree. My program is running Ok the only problem is when i am inserting nodes in order. 8,7,6,9,5,...
[2 replies] Last: Victim of Copy paste, thanks...!-) (by bond5611)
no match for 'operater==' in 'std::cin == "(letter)"
 
I'm very new to C++ (2 days), and I'm trying to write a simple calculater program. But each time i try to run it I get this error message on each of my if st...
[2 replies] Last: Thanks, it's so obvious now you mention it! The program works fine now... (by PieDude137)
by su li
why the exe. file print nothing when i try to run it???
 
#include <iostream> using namespace std; int main() {int n,even,odd; while(n>0); cout<<"pls enter the value of n\n"; cin>>n; if (n==1)cout<<"stop\n...
[1 reply] : You have not initialized n when it is being used for the first time. (by Peter87)
by Tirana
Flag
 
I have a vector of int value that i want set flag rather bool vaiable an now i don't know how I will pleased if you help me thank you
[1 reply] : I'm not quite sure what you're asking here but since you mentioned fla... (by closed account zb0S216C)
by drew99
Lagged Fibonacci generator
 
Someone is able to explain me in detail how works the lagged Fibonacci generator? If j and k are very large, how it's possible that in the first few cycles you...
[no replies]
C++
 
I need to make a program ..... that will have a subject to change / variable and sort it alphabetically. Output: Enter the number of words you wanted to put...
[no replies]
C program to C++
 
can anyone help me convert the words in this C program code.. to C++ code.. like for example.. the code "printf" for C ++ is "cout << " how about scanf and the ...
[3 replies] Last: How about if I need to make it ..... the program will have a subject t... (by saywhat)
const parameter problem
 
if i declare a funciotn like void func(const int a) { ... } when I use the function, do I need to specify variable const, like const int x; func(...
[2 replies] Last: thanks a lot qualificator const means only that inside the body ... (by ylxin1993)
October 2012 Pages: 1... 1617181920... 50
  Archived months: [sep2012] [nov2012]

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