49,761 Topics

Member Avatar for
Member Avatar for geethanjaliprat

hi to every one!!!!!!!!!!!! i just need a help from u, i just want to assign symbols like @$* wat i hav to do please help me by giving me a sample example.

Member Avatar for LevyDee
0
68
Member Avatar for blindkilla

My error occurs on line 191 and 156. For some reason it is saying it cant find the default constructor when I have supplied the right amount of parameters. The error it is giving me is "Cannot find default constructor to initialize base class" code: [url]http://pastebin.com/WLMvBMyy[/url] If anyone could offer …

Member Avatar for blindkilla
0
105
Member Avatar for eliza2044

Hello guys, I'm working on a new project in C++ and I need to parse some XML files, by reading some articles on the web I found that the most commonly used one is the Xerces library. However, I'm currently having troubles. Can anyone tell me how can I include …

Member Avatar for hasrule
0
140
Member Avatar for FudgeCoder
Member Avatar for Griff0527

I am trying to create a code that receives up to 50 integers from the keyboard, sorts the array from largest to smallest, then counts the instances of each number and displays the number inputted and the count of the number of instances. For example, if the number 11 was …

Member Avatar for NathanOliver
0
1K
Member Avatar for Buolbear4444

I am trying to set up the GUI Library FLTK but cannot find a way to set it up for MSVC++ 2010 Express. I looked on Google but failed to find any tutorials on doing this. I also tried CMake but ended up with an error in CMake and an …

Member Avatar for jonsca
0
147
Member Avatar for Tom Gunn

The forum is buzzing with questions about tokenizing a C++ string. This is a short function that does it and returns a vector of the tokens. As an option, the delimiter string can represent either a multichar delimiter or a collection of single char delimiters: [code] // multichar delimiter == …

Member Avatar for daviddoria
1
733
Member Avatar for avarionist

any particular reason why r=p(3,1); cout<<r; spits out 1? note ive tested z m and t only r gives one even though its the exact same code ? what gives ? [CODE] #include <iostream> using namespace std; int p(int x,int y){ //supposed to be a power operation if anyone knows …

Member Avatar for avarionist
0
128
Member Avatar for az7_neli

Hi, everyone again. I have a new problem. I hope that somebody will help me. I still don't find a decision of my last problem. This time I have following task: I have a Form. I have ComboBox, DBGrid and Button. I must select name of table in which I …

0
61
Member Avatar for FudgeCoder

OK I am new to C++ so I decided I'd toy around with what I know and try and do some neat stuff. I'm trying to make a program that will try and make you guess the number it's thinking of. But every time I run the program it always …

Member Avatar for nbaztec
0
79
Member Avatar for tkud

Hello all, Anytime I write a header file in VS 2008, it doesn't compile... it tells me that "unexpected end of file found"..any help on this? Thanks!!

Member Avatar for tkud
0
86
Member Avatar for gomezfx

Hi, I'm taking a class on C++ and we just went over classes and objects. We have a homework assignment due and I was wondering if someone could check over my work because some of this class stuff is hard to wrap my head around. Here's the homework assignment (it's …

Member Avatar for nbaztec
0
89
Member Avatar for strwbry.coder

Good day, everyone. I am refreshing my c++ skills from a year break or so :$ I am having some troubles remembering on how to write to a file. I have the general idea down, but I am not sure what I am doing wrong. I would be much appreciative …

Member Avatar for mrnutty
0
200
Member Avatar for YasaminKh

hi Everyone, I'm working with a Text file. Somewhere in my code a function returns the current position of the file pointer. But i want it to go to the next line or 2 lines after to do a string search there. Anybody knows how i can do that? Bests,

Member Avatar for mrnutty
0
110
Member Avatar for Jbvo

I am trying to use a digraph to read in airline flight information from a file and then ask the user for the source and destination then print out the path to get there. the text file contains source, destination, miles, cost. I am having problems making it use the …

Member Avatar for nbaztec
0
90
Member Avatar for jsw24ua

I could use some help getting my code to work. The user inputs the time in digits (ex: 7 35) and then the time is output in text (ex: seven thirty-five). I have populated an array but i can't get anything to print from the array. Here is what I …

Member Avatar for jsw24ua
0
174
Member Avatar for jobs

I am looking for a good C++ example of a simple MySQL client program written in C++ and runs on Linux, using MySQL++ libraries that does the following (no threading): Accessing Option File Contents, ~/.my.cnf, in user home folder to read settings (load_defaults). Constructing and sending the sql statement that …

Member Avatar for Stefano Mtangoo
0
449
Member Avatar for andrewll2

Hello there! I need a little help with a key detection program, i only need to watch for 1 key just -like the method to start recording with fraps-. I'm trying to use WH_KEYBOARD hook(not the WH_KEYBOARD_LL because i need the program to do stuff while "hooking"). In the dll …

Member Avatar for andrewll2
0
218
Member Avatar for Jennifer84

Hi, I am trying to call a MouseUp event. I usually do this with button events wich is my first example that works fine but I have compile error for the MouseUp event like shown below. I dont know if there perheps is a difference here that I am missing …

Member Avatar for jonsca
0
80
Member Avatar for Roses89

Could someone please make me understand a line in the code? Ive commented it [code] class Circle { protected: double radius; public: Circle(double r = 1.0) : radius(r) {} //this part is what i dont understand double calVal(); }; [/code]

Member Avatar for Roses89
0
103
Member Avatar for flaviusilaghi

Hy. I am trying to encode a ASN1 structure with DER , but i get a parse error. My in text is : 304913214D617374657220646520736563757269746174656120696E666F726D6174696569301E170D3039313030313030303030305A170D3130303331353030303030305A020103010101 and the code is this: [CODE]include <openssl/asn1.h> #include <stdio.h> #include<conio.h> #include <string.h> #include <iostream> #include <fstream> #pragma comment( lib, "libeay32.lib" ) using namespace std; int main() …

Member Avatar for flaviusilaghi
0
275
Member Avatar for Leppie

Morning all, I've got a grid of rooms that I need to navigate round using directions in main that's working fine, in main I've put a random starting location that also works. Ive also got a program with two functions in it, random starting location and random direction facing to …

Member Avatar for daviddoria
0
144
Member Avatar for hitmanner

how do you declare an array of dynamic string. i mean..if you have char name[501][41]; how do u declare the above in dynamic mode using *. char *name[41]? or char *name*? thanks in advance;

Member Avatar for amin_a
0
355
Member Avatar for svr2009wwe

Hi; I am making one small application which can store data to my online mysql server. But with c++ win32 how can I do it? Please help me.

Member Avatar for tesuji
0
227
Member Avatar for tiger86

Hi, I am simply trying to output text to my project screen that has a counter which increments by one, than prints it. Here is my attempt. int abovemaxpoints = 1001; // this works for any scoring for the game. while(std::cin >> abovemaxpoints) { std::cout << "star points" << counter++; …

Member Avatar for rahul8590
0
234
Member Avatar for paddy8788

I have to write an extension of basic_stringstream class, and I'm facing some difficulties with endl() function. Here is my code [CODE] class Logger: public basic_stringstream<TCHAR> { public: Logger(); }; inline Logger& __cdecl endl(Logger& _Ostr) { // Original code in ostream _Ostr.put(_T('\n')); _Ostr.flush(); return (_Ostr); } int main() { Logger …

Member Avatar for paddy8788
0
145
Member Avatar for Hawkpath

I'm not sure if this is the right place to post this, but I do use c++ so....yah. My problem is that I don't know what to do now. I'm certain I haven't mastered c++, but I think I've mastered the basics. So now I'm thinking "What now"? Is there …

Member Avatar for NathanOliver
0
137
Member Avatar for fandango

I notice <vector> uses the constructor once and then uses the copy constructor for a class when creating all the other elements of a vector chain. So, if I have: [code] class MyClass { MyClass() { cout << "Constructor" << endl; } ~MyClass() { cout << "Deconstructor" << endl; } …

Member Avatar for Radical Edward
0
220
Member Avatar for ShortYute

I am just 'transfering' from c to C++ and so ... some of the header files #include <direct.h> isn't exactly C++ friendly... I know I can just use them however I want my code to be as C++ly as possible as i'm just learning it... So.... [B]How do I:[/B] [LIST] …

Member Avatar for ShortYute
0
2K
Member Avatar for mteberlein

Hi everybody, I have a legacy program at work that I have taken over and my boss wants me to add some functionality. I have already added a com object to the program and am producing a functional dll which I can write strings to and control my program. I …

Member Avatar for mteberlein
0
275

The End.