51,593 Topics
![]() | |
Hi , ppl, I want to get the absolute file path of my c++ app, I tried searching through io.h, but alas , I don't know what the function is.:sad: I am using Dev C++ under Windows. [I]Thanks a lot, [/I] [I]Ishwar[/I] | |
I am using c++ and need to devise a method to determine the check digit of a credit card. The user enters the card no. as a string. The card no is then divided into blocks of length, x. these blocks are then added. I have the code to convert … | |
I have a process that i want to attach a debugger to but it has enumwindows enabled. I want to disable that. any help? | |
Ok Im Back I Think these Are the Last Error's Of The Lot This is My Code [CODE] #include <windows.h> void WriteMem(DWORD MemOffset, DWORD DataPtr, DWORD dataLen) { DWORD d, ds; VirtualProtect(address, bytes, PAGE_EXECUTE_READWRITE, &d); memset(address, type, bytes); VirtualProtect(address,bytes,d,&ds); } [/CODE] And These Are My Error's [CODE] error C2065: 'address' … | |
how do u write this if then statment but in c++ if g=3282 then g=k; to bad there wasnt a then like there is an else in c++ | |
i wan to know the code for the radix sort using a queue and a radix sort using a linked list | |
Hi All, Is the naming convention typically used for C++ vector arrays, with multi-word identifiers, to use an underscore between the words? I'm finishing up a C++ course offered by the local college - I'm taking one of the "classroom: online" sections - and I'm running into that usage in … | |
Hi, I need to implement a kind of real-time morlet wavelet transform for 200-samples of signal in C++. I have the code ready, which does the covolution of incoming signal and complex morlet wavelet and then take the sqare norm of the covolution result to get the energy of signal … | |
hi everyone, i am facing a problem in developing a software of pc maintainence, i require a source code to detect the ports of a general purpose processor without which i cant further proceed please give me suggestions regarding this. bye lakshmi.m | |
As a beginner,For doing C programs which is the best compiler? plzz gimme a reply... | |
Hi folks. I'm just learning C language,and I always come across a statement that I have no idea what it means. What does "returning a variable" mean? Thanks. | |
hello friends, could anyone help me by send a link where can i download visual C++ compiler for free on my email <<email snipped -- read the rules>> I will really appreciate that. Regards, | |
ok i was just fiddiling around macking this program to see what would happen and it worked fine but for some reason now it doesnt do what the program tells it to do this is my code [code] "#include <iostream> using namespace std; int main() { int taco,pizza,chicken,hamburger,hotdog,; taco=0; cout<<"from … | |
Hi, While compiling with Sun CC (studio10) compiler, I've observed the following warnings: Warning (Anachronism): Formal argument 3 of type extern "C" void*(*)(void*) in call to pthread_create(unsigned*, const _pthread_attr*, extern "C" void*(*)(void*), void*) is being passed void*(*)(void*). Any tips on resolving this? Thanks, ameli. | |
Hey everyone, Im new here, i have been browsing round these forums for awhile and thought i would get involved. Anyway i have a slight problem... I have a little bit of code that changes a string (eg. john) into its binary representation. What is going wrong, is that my … | |
How to write this program and using while, for or do..while only. Given a special squence of number as follows. 1,2,3,5,8,13,21,34.... the first two numbers must be 1 and 2. The following subsequent numbers are the sum of their two producessors.Write a program in C that needs a value n … | |
I am getting the following message everytime I try to install activesync!!! It says: "Microsoft visual basic C++ runtime error library and the error message says E://companionapp.exe/ program terminated unexpectedly contact system administrator" Help please.......tried changing the startup settings did not work. Merci beau coup!!!!!!!!! BTW the computer runs on … | |
[COLOR=magenta]For professional development which is the best compiler? DevC++ or Turbo c++? what is the difference between them?[/COLOR] | |
I am supposed to use an array and a for loop to show the average of these grades. I am not sure the formula for average here and don't know if that is what has me messed up or not. It runs, lets me put in 1 grade and then … | |
hi ... can anyone please tell what are Lvalue and Rvalue errors in c and c++ ??? | |
[B][COLOR=red]I use Turbo c as my compiler. now am not able to use mouse.i can access the menu only by using key board. how can i change this ? i wanna use mouse.. am a beginner..so plz do help me[/COLOR]..[/B]:-| | |
I am having difficulty running this program. I am using Windows XP along with Microsoft Visual Studio.Net 2003. The error message I get is: Unable to start debugging system could not find exe.file Error: C2109 Fatal Error: C1075 I need to use a while loop to take the number that … | |
I have instantiated an object with arguments( string, float, float) The two floating numbers are initialized using the constructor but when I display my object using my print function instead of getting the two floating numbers I entered, I get 0.00 for each. [code]#ifndef Publication_H #define Publication_H #include <string> using … | |
I am very new the C++ with no programming background. I have written a program to figure out the interest on a 401K plan. I wrote the program and tried to run it and I keep getting a message that there is not an exe. file. What is causing this? … | |
ok for some reason whenever i try to run Visual c++ i get the error [b]"automation server cannot create object"[/b],i got windows script 5.6 ran it but failed to install it says [b]"error registering ocx:vbscript.dll"[/b].iam out of ideas what to do. | |
Hi, I need to write to a file from multiple objects, out of which few objects spawn multiple threads. Can any one give me some tips. Thanks. -ameli | |
Please can somebody help me with Question Papers and answer Papers on [B]C, C++ and java. [/B]I have an Interview. | |
Hi everyone, I have not done C++ for quite sometime now and seems that i may have forgotten a bit so please bear with me a while. I am currently trying to output some text to the console in c++, but seems i may have forgotten something because the text … | |
hi all , i have a txt file called myfile.txt , i want to open this file and search for the following " this page is good/" if i find this i want to read every thing after "/" until i reach <b> so for example this page is good/so … | |
Hi, below is my unfinished code.what i realy want help on is how do i display or take the values of a and b to main? [code] #include<iostream> using namespace std; int ReadInput (int,int); float CalcIceCreamCost (); float CalcDeliveryCost (); float DisplayCosts (); int main() { int flava,cart,delivery; flava = … | |
Hello. I have a map [code] map<int, vector<int> > [/code] and I want to find which one of the vectors has the most elements. Is there a built in function that does that or do I have to write my one code. Cheers Costantinos ![]() | |
[COLOR=#000000]I have a problem in C++(complier dev 4.9.9.2). My program have complie with no error but out put is wrong and not run show with massage “ [/COLOR][COLOR=#000000][B]some intermediated data is missing[/B]”. In debugging its show massage “[B]segmentation Error”[/B] .[/COLOR] [COLOR=#000000][code]#include<iostream>[/COLOR] [COLOR=#000000]#include<math.h>[/COLOR] [COLOR=#000000]#include<conio.h>[/COLOR] [COLOR=#000000]#include<fstream>[/COLOR] [COLOR=#000000]#include<dos.h>[/COLOR] [COLOR=#000000]#include<iomanip>[/COLOR] [COLOR=#000000]const int row=195;[/COLOR] [COLOR=#000000]const … | |
Hi! I'm a beginner C# programmer, and our instructor has asked me to create a verification system for our web site so that a person has to complete a puzzle before they can fill out a form to submit comments on the site, etc. What he wants us to do … | |
plz friend solve this code for me I dont know what is the wrong with it. it is in c++ programing language. #include <stdio.h> #include <string.h> #define size 20 struct data { int age; int year; char course[6]; char name[20]; } students[20]; struct temporary //changed to struct? { int age; … | |
I try to draw a circle ;) ,but the borland c++builder 's compiler can not find this include file->"borlacon.h" please response to this message because I don't have any helper now. (I am sorry,English is not my mother tongue :rolleyes: ) | |
hello; I want to make the user write one character, not more than one and save it to char. so how can I make the input limited to one char? If I work with number only, how can I lock the letters input, making the user to input only numbers? … | |
Hello Everyone, This is my first post, I am very new to C++, infact only touched it once before today, so I need some help. I am trying to genorate a big number, This number isn't actualy possible to genorate (Googolplex) but I want to program to keep multiplying itself … | |
plz friends help me to solve this proplem by c++ language: [COLOR=#000000][CENTER][CENTER][B][U]Question (Check Protection and word interpretation) [/U][/B][/CENTER] [CENTER][B][U] [/U][/B][/CENTER][/CENTER] [B][U]Problem Concept [/U][/B] - Computers are frequently used in check-writing systems, such as pay-roll and accounts payable applications. Many strange stories circulate regarding weekly paychecks being printed (by mistake) for … | |
hi .. can anyone help me to understand what are the uses of different OOPS concepts of c++ and how thse features helps in programming in c++ ... specailly features like data abstraction etc ... | |
Hello everyone, i just signed up to the site. Ive been trying to learn c++ now for about a week. But every tutorial i find on the web (i have found lots) i dont seem to understand. it all seems so hard, but i realy would like to learn. Do … | |
I'm currently working on a ATM program wherein a 3.5 floopy diskette would serves as the card of the user. this diskette has a program wherein it has a account number and a password. And when the user inserted a diskette, he will be instructed to input his password and … | |
I believe that my header files are out of data...And causing me errors. Can someone please upload the standard Visual C++ 2005 header files? | |
Hello everyone, I am trying to create a "proxy" for a program. I will try to explain how I am going to do that. The program I want to write a proxy for sends and receives data to/from a server. The IP and port the client connects to is somewhere … | |
md5.cpp [code] #include <cstdlib> #include <iostream> #include <string> #include <stdio.h> #include "md5.h" using namespace std; char* szString = "Some string you want to generate an MD5 key for."; int main(int argc, char *argv[]) { char* sString = MD5String(szString); cout << "Some string you want to generate an MD5 key for." … | |
Hi All, Can we delete this pointer from a member function. I have written three programs to try this. The first two crashes at run time while the third doesn't. Can somebody explain me this????? 1) This crashes at run time. [CODE]#include <iostream> using namespace std; class Base { public: … | |
I'm trying to understand the basics of how Object Oriented Programming works with C++. I'm not really trying to learn the language per-say (although I might be interested in learning it gradually). I brought two books on C++ and read through them once, and while some things seem to be … | |
I am a new member to tis group, anyone familiar with round robin algorithm, pls send me some c++ codings on round robin to <<email snipped>> | |
hello friends, could anyone help me by send a link where can i download visual C++ compiler for free on my email <email deleted by wolfpack> I will really appreciate that. Regards, | |
I am learning overloaded operators, I successfully overloaded the <<and >> operators as friend functions creating cout << object and cin >> object. For the next problem I am required to overload the istream operator two ways. I must invoke it as somephonenumber.operator<<( cout ); or as somePhoneNumber << cout; … | |
Ok Im New To C++ But Im Making A Code That Should Hopefuly Make Me Able To Write Into A Program's Memory I Get These Error's [CODE] error C2059: syntax error : '.' error C2447: '{' : missing function header (old-style formal list?) [/CODE] My Code Is [CODE] .void WriteMem(DWORD … |
The End.