49,761 Topics
| |
Respected Sirs/madam, Please Explain Me The Code Of Palindrome Programme And Programme For Searching Character In String . I Shall Be Grateful If You Mail The Code Of These C++ Programmes With Explanations . Your' S Obediently Krishu | |
im trying to pull a bitmap from a file and read off each pixel value (preferably RGB (0-256) but hex will work fine as well). i am very unfamiliar with bitmap coding and was wondering if someone could give me some C++ functions that would be useful. thank you. | |
hello there...im new in c++, i need your help with this one...i want to create a program that will create an .ISO image file. the user will be asked to input all the files that he wants to compress..i just want to know what topic in c++ i will study … | |
Hi to one and all, this is satya, I few doubts in c those are, All are linux based, 1) How we can convert physical address to virtual adress and vice-versa,for this any linux system call. 2)How a float will store in binary format. 3)what the use of constant volataile. | |
OK guys, Im writing this game, and i can't seem to figure out one thing. This is an extra fun thing that one of my Profs suggested. If i get it working like i want..he may give me extra credit. So heres the problem. This is a game where 2 … | |
hi, I want to make a chat program using c++. Can you give me any site where i could find the concepts in building chat program? I will make a chat program similar to YahooMessenger. | |
Can someone please tell me what to do with a library object file in visual c++ express? Another programmer developed a set of classes with header files but there are no .cpp files. There is a .dll and a .def along with a library object file. The developer told me … | |
I just started mess with Memory at c++ so i am very confused now, and this is why i am asking 3 questions that made me confuse so much. 1. Look at this: char *str = "Literal String"; Here we are creating a char pointer called str then we are … | |
hi, I have been trying to get into C++ for a while now. My background is in VB.net. I do have experience programming with C++ (and some C) through my classes, but nothing complex... the biggest thing that I seem to be having trouble comprehending is how data access is … | |
I have many of them :) At this point I'm looking for help with a specific idea I know is possible, I just have no idea how to pull it off first some code: [code] cout << "Would you like to continue? (Y/N); method1(); [/code] [code] while(someSentinal) { //Do stuff … | |
hello all; im kinda new to this kinda stuff was just wondering if someone could please help me out with the following parts i have there ... my compiler isnt really letting me draw the board it keeps on insisiting that i have invalid types of data.. also i cant … | |
Does anyone here knows how to make application in c++ using the wxwidgets for i am having trouble in getting the value in the wxTextCtrl.Could you please help me on how to get the value on the wxTextCtrl and display it in an another textctrl....pls..help.. your help is highly appreciated!!!!! | |
| |
Hi, I'm fairly new to c++ and I'm having some trouble getting this to work as a function. Here's the error I get: error C2447: '{' : missing function header (old-style formal list?) I can work through the minor troubleshooting of basic syntax I just don't get how to call … | |
Basically I have to take in N and bring it to power of K so N^K i have the c++ i have the basic assembly but something is wrong the math doesn't come out right .386p .model flat .code _func proc near push ebp mov ebp, esp mov eax, [ebp+12] … | |
Hi! I hope some one is familiar with pascal. I've been trying to translate this code into c++ for quite a while now... And frankly I've given up hope of solving it. It's supposed to invert an integer from binary data it reads from a file into normal characters or … | |
I need help trying to compile and test this code, but I keep getting the error: template is incomplete, can not parse field. Here is my code: [code] #include<iostream> #include<iterator> #include<vector> #include<algorithm> using namespace std; template <class T> class my_istream_iterator { public: typedef charT char_type; typedef traitsT traits_type; typedef basic_istream<charT, … | |
Hi guys I'm working on a small portion of a larger program here that will accept lines of text and based on the first word in each line needs to conditionally branch...I am using the tolower() function to make the words lowercase and then I test them in an if … | |
I design a form in C++ Builder 2006, and i want to handle `WM_NCPAINT` message by my own function (`void RedrawCaption(TMessage & msg);`). After handle this message i have to call the default message handler of the form. But i fail to find out the default handling function. Could you … | |
im compiling a basic sorting algorithm that utilizies POSIX threads (pthreads) .... everything was compiling fine, until i put the thread implementation in .... all of a sudden, it gives me this: [code]-bash-2.05b$ gcc project4a.c -lpthreads project4a.c: In function `main': project4a.c:32: subscripted value is neither array nor pointer project4a.c:33: subscripted … | |
I have a daemon I'm working on that seems to bomb out in the middle of strcmp, WAY down in the bowels of the ODBC library. It would run for hours, then just mysteriously quit (well, as mysteriously as a SIGSEGV can be)- classic memory corruption symptom. So, I built … | |
i cant figure out how to graph x and y positions using 2 d array i managed to tabulate the results though..does anyone have any ideas? | |
I hope this helps for some of those wanting to create a basic menu. [code] #include <iostream> #include <dos.h> #include <windows.h> #include <string.h> #include <fstream> using namespace std; int main() { ofstream OutFile("OutFile.dat"); top: system("cls"); //Opening first prompt to introduce software designer system("title SAT-FAST"); system("Color 6"); cout<<" Created and Developed … | |
Hi, I have created an on-the-side project to test some code which I hope to merge with my main program, however I've noticed that the output generated varies between two compilers (VC++ 2005 Express and Dev-C++). Since I am doing the project in VC++, it's output has had me scratching … | |
Could you tell me the mean of this code? [CODE] while(1) { // do something [/CODE] thanks! | |
hello, I saw option of MFC project in VS2005 and I d like to know what MFC is, and what can we do with MFC. I presume MFC is C++ based, but does it need any framework? And whats the difference betwen Winapi and MFC? What can you actually do … | |
Hello, I want to know where to start in software programming in C and C++, I know their basics, i can write programs of mathematical solutions, but, can you please help me, adjust to a higher level, like software programming, Thank You Guys!! | |
I've got a custom class that is as follows: [code=C++]class course { private: string prefix; int number; string title; int credits; char grade; public: //Constructors course(); course(string, int, string, int, char); //Accessors void set(); void print() const; string get_prefix() const; int get_number() const; string get_title() const; int get_credits() const; char … | |
Anyone here who uses wxWidgets? I am a newbie in wxWidgets. I have trouble in inserting an image in my application.. I am using this one: wxImage *img; img=new wxImage("pic.jpeg",wxBITMAP_TYPR_ANY,-1); this code is erotic. What would you suggest? Thanx.. |
The End.