Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #1K
~13.4K People Reached
Favorite Forums
Favorite Tags
c++ x 13
c x 9
Member Avatar for hey_shishir
Member Avatar for akshit.arora.14224
0
4K
Member Avatar for coolbreeze

ill show the problem in the book first then ill tell you what i know. ___________________________________________________________________________ Then following formula gives the distance between two points (x1,y1) and (x2,y2) in the Cartesian plane: √ (x2-x1)^2 + (y2-y1)^2 its the distance formula..hard to type on here Given the center and a point …

Member Avatar for gurusaranya
0
1K
Member Avatar for sonygamer

Hi everyone, I have to write a code that finds and prints all prime numbers from 2 to whatever number the user inputs, be it 10 or 10,000. So far what i have is this: [code=cplusplus] #include <iostream> using namespace std; int main(){ int n,p,t,limit; cout<<"input the limit:"; cin>>limit; //outer …

Member Avatar for ashen77
0
147
Member Avatar for Bazman76

Thanks again. I've tried implementing the following code in Visual c++ 6: [code=cpp]#include <iostream> using std::cout; using std::cin; using std::endl; #include <cmath> int main(){ int binary, n; double temp, total; total =0; cout << "Please enter the binary number: "; cin >> binary; n = floor(log10(binary)) + 1; for(int i=1; …

Member Avatar for Bazman76
0
145
Member Avatar for mark192

When I click on the exe file to open it up via a folder or my desktop etc... it will show a black cmd window for about half a second and then close, however if i find the directory of my exe through cmd and then run it that way, …

Member Avatar for WaltP
0
283
Member Avatar for shadowfire36

i have done some coding back in '99 in visual basic, and i remember there a command to excutse a message box to input data . is there a similar function in C++ to excute a message box for input in a windows os ?

Member Avatar for John A
0
130
Member Avatar for gallantmon1
Member Avatar for gallantmon1
0
114
Member Avatar for winrycool

i would like to add graphics to to the "8 queens problem" with a 8*8 grid colored in black and white with the 8 queens placed on the board and moving them using the arrow keys is that possible plz help me it is counted for my annual exam i've …

Member Avatar for Narue
0
245
Member Avatar for kv79

Hi ,i am creating some file and i need to open an exe file. Like this ,I creating preface application because installation of the game . So i need that when Computer finish the installation that he start another exe file who have nothing with my preface application. I using …

Member Avatar for zhelih
0
61
Member Avatar for gjain81

Hi I want code to find out the crc32 checksum of a string in c# that should follow the zip algorithim of this crc32 methodology. Could not find any freakin code out there using google :( Can any one help?

Member Avatar for gjain81
0
149
Member Avatar for FallenPaladin

Hi all, I am hoping that someone will be able to point me in the correct direction. I am trying to print an error log (simple txt file) from a c# console application. I have created the txt file and can access and display the information caontained within it. However …

Member Avatar for Jugortha
0
1K
Member Avatar for That Asian Guy

I was trying to delete the currently selected listview item using MFC methods, but obviously they werent compatible How can I accomplish this in VS 2005 (standard .NET windows forms NOT MFC? I have tried [code=C++] void CMyListView::DeleteSelectedRow() { int nIndex = GetListCtrl().GetSelectionMark(); if(nIndex != -1) { GetListCtrl().DeleteItem(nIndex); } } …

Member Avatar for That Asian Guy
0
97
Member Avatar for jobs

I have a config file which includes how many files I need to create. So my program reads the config file and will create those files. Where I am stuck is I do not know before hand how many File pointers I need. I get to know quantity of files …

Member Avatar for Jishnu
0
904
Member Avatar for jobs

When you read file in C and move to next line and so on. This seems you have to access file top to bottom sequentially without skipping lines. I need a way to read very 5th line or something similar to it. I am just concerned with data that is …

Member Avatar for yagiD
0
104
Member Avatar for ENG ISE student

So I'm supposed to copy the word "computer" or "computers" from the text of one file and past the word each time to the new file. It compiles but it doesnt run right. Any input would be great. [CODE]#include <iostream> #include <fstream> #include <cstring> using namespace std; int main() { …

Member Avatar for Ancient Dragon
0
103
Member Avatar for Ravenous Wolf

i have finished coding a c# program and it is fully debugged. but what is the next step? the program has to be installed on my manager's computer but i little idea how to proceed. i know that i can publish the program to some location on my hard disk. …

Member Avatar for Jugortha
1
165
Member Avatar for people123

I came to a point in my C++ book where I have to start using bitwise operators, such as &, ^, and |. I have a hard time grasping the concept of exactly how do I manipulate bits, the following example supposedly "turns off the 6th bit", therefore inverting the …

Member Avatar for people123
0
135
Member Avatar for jobs

I have a C program I am writing and need this program to write to syslog and have the logs in a separate file for my program. Eg. My program is called "example.c", then I want to have a log file called "example.log" in /var/log. Do I define log file …

Member Avatar for WaltP
0
1K
Member Avatar for claudiu_is

anyone knows what event can I fire when I edit the contents of a datagrid cell ?

Member Avatar for claudiu_is
0
137
Member Avatar for Angel V

im trying to sort my random numbers to odd numbers and even numbers,, the last part of my code is really wrong.....(the sorting part) [code] my code: #include<time.h> int main() { int num[50]; int x,odd,even; srand(time(NULL)); for(x=0; x<50; x++) { num[x] = (rand()%60)+40; } for(x = 49; x>-1; x--) { …

Member Avatar for ssharish2005
0
90
Member Avatar for toko

i got a new laptop, and when i try to run dev-c++ nothing happens and i am forced to shut the .exe down using task manager. I've tried running it under administrator but nothing seems to help. It installs fine but when i try running it it crashes. If anyone …

Member Avatar for yagiD
0
123
Member Avatar for raghu.8

hi i created image table and inserted it value using c# but i want to display image in datagridview. please sought my problem thank you raghu

Member Avatar for yagiD
0
92
Member Avatar for fishsqzr

When the user clicks the Delete button on a BindingNavigator, the delete occurs immediately. I can arrange for the user to cancel the delete later, but that assumes the user realizes that a record was deleted in the first place, so I prefer to warn them when the button is …

Member Avatar for fishsqzr
0
1K
Member Avatar for kobi

Hello , I have created an treeview control in C# form,how can i load this control to my HTML page? Thanks

Member Avatar for yagiD
0
90
Member Avatar for latitude7ds

I'm still trying to iterate through form control objects. In another thread GetReference was suggested. Can anyone give me the usage of this method. My error is this method can't be used in this context. [code] String strControl = "IX" + i; Object Ctrl = GetReference(strControl); [/code]

Member Avatar for yagiD
0
79
Member Avatar for partyanimal

Hello All I have created a form which as two group boxes, in each of these group boxes I have 8 radio buttons in each labeled 1 to 8 and the group boxes are named Up for the first box and Down for the second box. and I also have …

Member Avatar for partyanimal
0
139
Member Avatar for caylyn

hello.....to evryone im jerlyn......im first year college..taking up accountancy... i regester hr coz we have subject about C++ and database..... i cant understand some code that our tchr want us to input or type..... like...... *what the difference about [B][U]the do while loop [/U][/B]and [B][U]the while loop[/U][/B] *what [B][U]getch[/U][/B] stand …

Member Avatar for ithelp
0
101
Member Avatar for peter_budo

We been asked to develop GUI for mobile pc 2003. Just interface, which is no problem. Part of my interface are some ComboBoxes. I found the way to add elements to them, but strangely I can't figure out how to force combo box to display selected element in the box. …

Member Avatar for yagiD
0
84