General C++ Programming - July 2012 (Page 15)

help....with an error..!!!
 
i was working on a program..which is used for railway reservations...but i cnt run it as...i m getting an "linker error" which states: undefined symbol _main in...
[2 replies] Last: "Main" function in assembly? (by S G H)
Loading Array data after cosole closed?Possible or not?
 
I am working on a program that allows you to input data into the console, and then it will take it and match it up in a wordperfect file(I am doing this for a p...
[1 reply] : First things first. Array indexing in c++ starts from 0. So all the lo... (by KRAkatau)
by Gldnbr
Need help with Knapsack problem B&B
 
I've got this code from the pseudo-code here: http://books.google.com/books?id=QrvsNy9paOYC&pg=PA235&lpg=PA235&dq=knapsack+problem+branch+and+bound+C%2B%2B&so...
[2 replies] Last: Well, the reason why your code doesn't work is exactly because you cha... (by KRAkatau)
Confused about vectors
 
Greetings all, I've been writing C++ for a very long time, and I've used vector<> objects quite a bit but I just became flabbergasted at something I never no...
[9 replies] Last: Those answers all make sense. Thanks very much :) (by Caleb9849)
by qingze
How to generate random numbers from a normal disribution
 
I found a function but not sure whether it works. double randgauss(double min, double max, double sigma, double centre) { double random = (min + (max-min) * (...
[2 replies] Last: Got it! Thanks so much for your help! (by qingze)
How to write a class that uses a structure as a private datatype and uses it's pointers in the implementation.
 
class PQueue{ public : /*other public functions and the constructors,destructors*/ private : struct chunkT{ vector<int> nums ; chun...
[11 replies] Last: @AbstractionAnon: there are other libraries. (by ne555)
How to call function in ALT project C++?
 
Hello , I have a project ALT in C++. I want to check IP from file text , compare with url string . But I don`t known how to call it ? // BhoApp.cpp : Impl...
[2 replies] Last: You already opened one topic with pretty much the same subject if I re... (by modoran)
by devync
Function doesn't properly do my if statment
 
on line 76 starts my takeTurns function which is supposed to switch between the players after each while loop on line 32. When I run it, the if statement the...
[3 replies] Last: Thank you Framework. That's what I suspected, but didn't know how to g... (by devync)
Incorrect Array Assignment Error
 
I keep getting the error: incorrect array assignment at line #14. Any suggestions? void testStrings( char fileName ) { ifstream infile; ofs...
[8 replies] Last: I'm trying to work around the my wonky test for EOF in the for loop, b... (by xrotaryguy)
How to call html to pdf asp.net library from a C++ Native Windows Application
 
You can use hiqpdf html to pdf asp.net library from a c# application. First you should register the HiQPdf classes for COM clients and produce a type library fi...
[no replies]
Definition of an EZArray class
 
Write the definition of an EZArray class 1. An EZArray contains strings. 2. All arrays are dynamic (do not declare arrays, but pointers to strings). ...
[1 reply] : Duplicate thread: http://www.cplusplus.com/forum/beginner/75380/ (by Moschops)
Plugin-based application
 
Hi. How to create a plugin-based application in standard c++? I use GCC. Thanks
[4 replies] Last: Thank you iseeplusplus. That's a wonderful solution. (by majidkamali1370)
Template question
 
Hi at all . I have a question about template and STL (sort,remove_if ..) I have a template class with some member. In one of this i have a struct like this ...
[1 reply] : Try to inherit fron std::unary_function<bool, my_type> instead. Also, ... (by viliml)
need code
 
Hello Guys, Can some one post the code which renderes the pdf file having an image and provides the information of the image. Such as color of the image, str...
[2 replies] Last: There's a library for that: http://podofo.sourceforge.net/about.html ... (by closed account zb0S216C)
Weird compiler bug ( comment affects compilation )
 
Hi, I have run into a weird bug with compiling some C++ code. I am trying to forward declare a class using code like this: CTestboard tb; And it doesn'...
[5 replies] Last: [quote=xerxes1986] "I am trying to forward declare a class using code ... (by closed account zb0S216C)
Better way to create a linked list
 
It is very easy to declare and initialize an array like int a = {1,3,4,5}; Here is my attempt to create a linked list ; #include<iostream> using name...
[2 replies] Last: I use Codeblocks. At last I could do the program , there was no requir... (by Raman009)
Binary Converter
 
Thought this would be useful. // loadedjd july 15 2012 // binary converter //sorry about indentation had copying issues #include <iostream> #include <cstdli...
[no replies]
Data storage
 
I am relatively new to c++, i have been working on an application to have me import names into an array. its a console app, but i keep getting a linker error th...
[2 replies] Last: thank you this helped a ton (by CNoob97)
fstream::peek() sets badbit
 
I have a program with the intention of parsing a downloaded html document to a csv, but the html has incomplete carriage returns, instead of having 0Ah0Dh (or 0...
[3 replies] Last: could u try something like this without the need to call flush (pseudo... (by soranz)
by scopez
flickering issues.
 
ok so i'm programming with dev-c++ and i cant think of anyway to make this not flicker like it does. all i know is to do it like this i wouldnt know how to JU...
[12 replies] Last: ok sso like i just got allegro working on devc++ and ive tried it with... (by scopez)
July 2012 Pages: 1... 1314151617... 30
  Archived months: [jun2012] [aug2012]

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