49,761 Topics

Member Avatar for
Member Avatar for Stefano Mtangoo

Hi anyone who knows good and documented CHM library? There is [URL="http://www.jedrea.com/chmlib/"]chmlib [/URL]which is X-platform but I cant find documentation or example. Is it hard to write cross platform CHM reader library. Just reading, no writting Thanks

0
49
Member Avatar for umesh314

Please help me....... I want to buy a book for C++... i want your suggestion for this..... i am confused... HELP.....

Member Avatar for umesh314
0
154
Member Avatar for onako

My current c++ application is compiled by calling "make", and invoked by calling "./fileName.bin". Now, I want to add the functionality of cairo library into the application. Note that the the program written specifically for testing cairo (outside my application) is compiled by "g++ -o fileX $(pkg-config --cflags --libs cairo) …

Member Avatar for Stefano Mtangoo
0
137
Member Avatar for vbx_wx
Member Avatar for smcguffee

Hi all, I'm gradually starting to make this transition from the world of C to C++, and now that I have a little progress, I have some things that are still a bit confusing to me. One of them is if I nest a class inside another class. If I'm …

Member Avatar for smcguffee
0
120
Member Avatar for n.aggel

In order to traverse a tree you could use something like this: [B]For inorder traversal:[/B] [CODE=C++] inorder(TreeNode* currentNode) { if (currentNode) { inorder(currentNode->LeftChild); cout << currentNode->data; inorder(currentNode->RightChild); } } [/CODE] [B]For preorder traversal:[/B] [CODE=C++] preorder(TreeNode* currentNode) { if (currentNode) { cout << currentNode->data; preorder(currentNode->LeftChild); preorder(currentNode->RightChild); } } [/CODE] [B]For post …

Member Avatar for jbel
0
419
Member Avatar for Rez11

I am trying to write a program that takes a user submitted number of test, along with the test scores. Then I need to sort them in ascending order. (I've done all this). Now I need to get the average, but my getAvg function drops will drop the decimal and …

Member Avatar for dusktreader
0
207
Member Avatar for shahanakazi

Hi. Can anyone help me get started with the following program please? I know the concept but i am having problem writing the syntax codes. I know we have to use arrays and then split the array and convert it into string and then back to integer. I believe we …

Member Avatar for dusktreader
-1
173
Member Avatar for Gait

Which is the best C++ IDE for windows that is free and where can i get it?I have tried downloading Code Blocks and Dev C++ but none of them works.

Member Avatar for hystaspes
0
143
Member Avatar for aaronzf

Write a function with the prototype void findMisspellings(const char *text, const char *correctlySpelled, char *result) which populates the string result containing all the words in text that are misspelled, in the order they appear in text, with a single space separating each word and no leading or trailing whitespace. A …

Member Avatar for daviddoria
-2
126
Member Avatar for aaronzf

Write a function with the prototype unsigned long findFibonacciPrimes(unsigned long lowerBound, unsigned long upperBound, unsigned long result[]) which populates the array result with all of the prime numbers that are also Fibonacci numbers between lowerBound (inclusive) and upperBound (inclusive), and then returns the number of Fibonacci primes that were found. …

Member Avatar for daviddoria
0
86
Member Avatar for rcplguy15

Hello, I got this question for my weekly c++ exercise: Imagine you want to solve the following problem. Given a date (of the form dd/mm/yyyy and day of the week) and a non-negative integer n, you want to determine which date it is after n days. For instance, Given Thursday …

Member Avatar for daviddoria
0
217
Member Avatar for cscotty

Hello all. I am a new c++ programmer and I am having a lot of fun with it. I just wrote this programming to help with some American History. I've read tutorials and have learned enough to write this program. I am dissapointed in my code however. I noticed that …

Member Avatar for jack2423
0
504
Member Avatar for smcguffee

I'm sort of duplicating this post because it requested that I start a new thread because I was replying to an old one, but here is a statement that prompted my questions: "Accessors should be const methods at the very least, because the object state isn't changed in the body." …

Member Avatar for smcguffee
0
122
Member Avatar for therstonsplace

so i need some direction in c++ for grabbing a jpg file sending it to a text file that i can edit to manipulate pixels and send back to a jpg... i have been googling for some time and im having a hard time... just some direction will do.. cuz …

Member Avatar for therstonsplace
0
134
Member Avatar for tennis
Member Avatar for rom87

Driving me crazy keep getting "this line contains a '{' which has not yet been matched on several lines even though i cant find where there missing. thanks main.cpp [CODE] #include <iostream> #include <string> #include "USER.h" using namespace std; string Get_password(); string Get_username(); void Open_account_sucess(); void Error(); void Exit(); void …

Member Avatar for Kanoisa
0
87
Member Avatar for spankboy11

Hi there, I'm having trouble dealing with dynamic arrays and was wondering if someone could tell me where the problem lies. I'm new to C++. Basically, in the following code, the dynamic array of Fuzzy objects works fine. But when you uncomment out the bit that actually assigns values to …

Member Avatar for Kanoisa
0
230
Member Avatar for ^Y^ nobody ^Y^

Hi, I search everywhere and i didn't found anything good. Do you know how to search a string inside a .txt file ?? Like, this is a text file: -------------------------- i love mc donalds food i hate my brother i want a answer a good answer -------------------------- How can i …

Member Avatar for fire_
0
349
Member Avatar for corby

can someone help me with these compiler errors? im not sure how to fix them. intset.cpp:16: error: prototype for âIntegerSet::IntegerSet(int*)â does not matc intset.h:6: error: candidates are: IntegerSet::IntegerSet(const IntegerSet&) intset.h:9: error: IntegerSet::IntegerSet(int) intset.cpp:7: error: IntegerSet::IntegerSet() main.cpp: In function âint main()â: main.cpp:36: error: invalid conversion from âint*â to âintâ main.cpp:36: error: …

Member Avatar for Ancient Dragon
0
311
Member Avatar for sbrohee

Hi everybody, I think this question will be kind of stupid for you ... but I am fighting with since yesterday evening. I have a class Test defined as such in the hpp file (Test.hpp) [CODE] #include <iostream> #include <vector> using namespace std; class Test { public: Test(); static const …

Member Avatar for sbrohee
0
424
Member Avatar for johnnyturbo3

Hi, I have a code design problem: I have several classes *MainWindow - holds 2 widgets, a QTableView Widget and a QTabWidget *TabLayout - layout of the tab, comboboxes etc. Creates an instance of TabCode and connects its signals to it. *VideoTab - contains the slots. Slots are called whenever …

0
67
Member Avatar for snkcpp

Hello Coder, My application crashed the problem while read the file from end position to beginning position????? So can anybody solve the siuation??????

Member Avatar for cgcgames
0
66
Member Avatar for webweb2

Hey guys, I am a CS major at Bradley University and school is about to start so just to brush up on my C++ syntax I decided to make a simple program that would be used to study. It is basically just a notecard program, where you enter the front …

Member Avatar for Fbody
0
97
Member Avatar for fire_

Hi. I need program wich will start other program (for example notepad.exe) and if notepad.exe will exit my program will start it again. How can i get info about process state and put it into variable to use with if? I'm beginner at C++ so please write all headers witch …

Member Avatar for fire_
0
158
Member Avatar for Web_Sailor
Member Avatar for cgcgames

sorry dont know how to delete :). this was ment to be in C# i forgot i changed over to C# becuase i knew more. sorry about that

-2
84
Member Avatar for dolly_olaide

Hello, Can someone please help me with this problem.:( I am trying to openFileDialog in VisualC++, and I want to load an image through cvLoadImage, but I'm getting error that it cannot just convert [code] error C2664: 'cvLoadImage' : cannot convert parameter 1 from 'System::String ^' to 'const char *' …

Member Avatar for dolly_olaide
0
123
Member Avatar for Bigbrain99

Hi guys, actually i'm trying to write a program which will write the user input into dat file and start to count the user input from 1. When user inputs second value, it will go to other line and put 2 in front of user value. Any idea how to …

Member Avatar for mrnutty
0
112
Member Avatar for darkmeyi0319

i have a question,it's about header files, the header files i always use is stdio.h and conio.h.... how can i use other header files like iostream, c time, etc.. whenever i use them and compile the source code, bad header files always exists,. Can you help me? Thanks a lot

Member Avatar for darkmeyi0319
0
145

The End.