51,593 Topics

Member Avatar for
Member Avatar for ishwar

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]

Member Avatar for ishwar
0
144
Member Avatar for hay_man

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 …

Member Avatar for Grunt
0
157
Member Avatar for Gunner54

I have a process that i want to attach a debugger to but it has enumwindows enabled. I want to disable that. any help?

0
69
Member Avatar for Gunner54

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

Member Avatar for Gunner54
0
815
Member Avatar for grunge man

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

Member Avatar for grunge man
0
754
Member Avatar for happy8899
Member Avatar for happy8899
0
2K
Member Avatar for aeinstein

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 …

Member Avatar for aeinstein
0
2K
Member Avatar for yuelabtina

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 …

Member Avatar for yuelabtina
0
332
Member Avatar for ganeshprasad_7

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

Member Avatar for Ancient Dragon
0
119
Member Avatar for ammu117

As a beginner,For doing C programs which is the best compiler? plzz gimme a reply...

Member Avatar for Grunt
0
180
Member Avatar for the.future.zone

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.

Member Avatar for WaltP
0
46
Member Avatar for Smoke

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,

Member Avatar for WaltP
0
79
Member Avatar for grunge man

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 …

Member Avatar for ~s.o.s~
0
106
Member Avatar for amelie

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.

Member Avatar for Salem
0
119
Member Avatar for insamd

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 …

Member Avatar for insamd
0
86
Member Avatar for gege1

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 …

Member Avatar for Salem
0
112
Member Avatar for ravij

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 …

0
21
Member Avatar for ammu117

[COLOR=magenta]For professional development which is the best compiler? DevC++ or Turbo c++? what is the difference between them?[/COLOR]

Member Avatar for Grunt
0
139
Member Avatar for tln26

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 …

Member Avatar for tln26
0
122
Member Avatar for joshilay
Member Avatar for himanjim
0
174
Member Avatar for ammu117

[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]:-|

Member Avatar for ammu117
0
95
Member Avatar for tln26

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 …

Member Avatar for Salem
-1
244
Member Avatar for SHWOO

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 …

Member Avatar for Salem
0
241
Member Avatar for tln26

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

Member Avatar for Grunt
0
300
Member Avatar for ArNy

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.

Member Avatar for Ancient Dragon
0
160
Member Avatar for amelie

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

Member Avatar for amelie
0
168
Member Avatar for myques

Please can somebody help me with Question Papers and answer Papers on [B]C, C++ and java. [/B]I have an Interview.

Member Avatar for ~s.o.s~
-1
137
Member Avatar for freesoft_2000

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 …

Member Avatar for Lerner
0
161
Member Avatar for taha54

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 …

Member Avatar for WaltP
0
1K
Member Avatar for ze_viru$

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

Member Avatar for Grunt
0
402
Member Avatar for costantinos

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

Member Avatar for iamthwee
0
178
Member Avatar for bharat.bhooshan

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

Member Avatar for Salem
0
195
Member Avatar for knightrider2006

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 …

Member Avatar for plazmo
0
302
Member Avatar for star22

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

Member Avatar for andor
0
1K
Member Avatar for soft_pro

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: )

Member Avatar for Dave Sinkula
0
905
Member Avatar for faizalw

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

Member Avatar for Lerner
0
111
Member Avatar for Wreef

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 …

Member Avatar for Wreef
0
735
Member Avatar for star22

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 …

Member Avatar for Dave Sinkula
0
214
Member Avatar for joshilay

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

Member Avatar for ~s.o.s~
-1
71
Member Avatar for 00mike00uk

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 …

Member Avatar for Dave Sinkula
0
230
Member Avatar for comp_sci11

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 …

Member Avatar for Grunt
0
445
Member Avatar for Wreef

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?

Member Avatar for Wreef
0
146
Member Avatar for Eddy Dean

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 …

Member Avatar for Eddy Dean
0
1K
Member Avatar for Ripiz

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

Member Avatar for ~s.o.s~
0
223
Member Avatar for dilip.mathews

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

Member Avatar for dilip.mathews
0
190
Member Avatar for Happycow

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 …

Member Avatar for Bench
0
117
Member Avatar for s_nagula

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

Member Avatar for Ancient Dragon
-1
133
Member Avatar for MikeTiger

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,

Member Avatar for steveh
0
103
Member Avatar for SHWOO

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

Member Avatar for SHWOO
0
225
Member Avatar for Gunner54

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 …

Member Avatar for Dave Sinkula
0
582

The End.