49,761 Topics

Member Avatar for
Member Avatar for krishu

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

Member Avatar for Narue
0
90
Member Avatar for mfc51

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.

Member Avatar for John A
0
42
Member Avatar for jaepi

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 …

Member Avatar for jaepi
0
112
Member Avatar for satyanarayanam

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.

Member Avatar for thekashyap
0
116
Member Avatar for learningtocode

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 …

Member Avatar for Salem
0
262
Member Avatar for squinx22

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.

Member Avatar for squinx22
0
109
Member Avatar for quintoncoert

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 …

Member Avatar for John A
0
106
Member Avatar for laconstantine

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 …

Member Avatar for Narue
0
293
Member Avatar for SelArom

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 …

Member Avatar for ~s.o.s~
0
175
Member Avatar for ebmusicman

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 …

Member Avatar for ebmusicman
0
132
Member Avatar for stol3n

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 …

Member Avatar for ebmusicman
0
120
Member Avatar for jk_bscomp

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!!!!!

Member Avatar for ~s.o.s~
0
39
Member Avatar for generalGOTCHA
Member Avatar for ssgatbliss

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 …

Member Avatar for ssgatbliss
0
150
Member Avatar for Assemblyn00b

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] …

Member Avatar for Assemblyn00b
0
165
Member Avatar for Radons

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 …

Member Avatar for Radons
0
222
Member Avatar for jrivera

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, …

Member Avatar for Narue
0
116
Member Avatar for ft3ssgeek

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 …

Member Avatar for iamthwee
0
140
Member Avatar for cutebamboo

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 …

Member Avatar for Ancient Dragon
0
612
Member Avatar for jaeSun

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 …

Member Avatar for ~s.o.s~
1
1K
Member Avatar for anw

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 …

Member Avatar for Salem
0
109
Member Avatar for bob1989

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?

Member Avatar for iamthwee
0
42
Member Avatar for CodyOebel

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 …

Member Avatar for CodyOebel
0
95
Member Avatar for Mashadar

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 …

Member Avatar for Mashadar
0
162
Member Avatar for CRD
Member Avatar for donaldunca

Could you tell me the mean of this code? [CODE] while(1) { // do something [/CODE] thanks!

Member Avatar for donaldunca
0
124
Member Avatar for jan1024188

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 …

Member Avatar for jan1024188
0
123
Member Avatar for iTaChi

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!!

Member Avatar for Narue
0
146
Member Avatar for yesm

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 …

Member Avatar for Narue
0
137
Member Avatar for squinx22

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..

Member Avatar for ~s.o.s~
0
75

The End.