15,300 Posted Topics

Member Avatar for spritzer

Start here: #include <iostream> int main() { // put your code here }

Member Avatar for richieking
0
138
Member Avatar for Lilantha

Are both PCs connected to the internet? What operating system do they run? If have several PCs running Windows 7 and 8 all connected via internet by setting up a Home Network.

Member Avatar for AcmeUK
0
129
Member Avatar for saadi06

Combine the two lines `"C:\Program Files\SyncToy 2.1\SyncToyCmd.exe" -R > C:\Users\Test\Desktop\logs.txt` The quotes are probably required because of the space in the path.

Member Avatar for Ancient Dragon
0
164
Member Avatar for sing1006

what compiler are you using? You could draw a box by using the line-drawing bytes of the ascii character set (the values between 179 and 223). google for "ascii character set" and you will find the table of all possible 255 values and a picture of they they look like …

Member Avatar for Ancient Dragon
0
428
Member Avatar for COKEDUDE

> the difference between a pointer size and char size isn't going to be an issue. sizeof(char) == 1 sizeof(char\*) == 4 (except Turbo C compilers where it could be either 2 or 4) That's quite a bit of difference, especially if there are thousands of nodes in the linked …

Member Avatar for deceptikon
0
946
Member Avatar for moon.fall.58

I think you will want to use a structure or class to hold the names so that it's easier to search on just one of the fields. But ... if you want to use binary search then the entire array will have to be sorted by either the first or …

Member Avatar for Ancient Dragon
0
194
Member Avatar for Elias_2
Member Avatar for freeviewman
0
128
Member Avatar for ameen994

Since we have no clue what that program is supposed to do how do you expect anyone to help you? Help you do what, exactly?? Do you take your car to a repair garage and tell them "it's broke. Please help me fix it."? Of course not, you have to …

Member Avatar for kal_crazy
-1
154
Member Avatar for olabamiji14

Never heard of copyright "detection". Do you mean "protection"? There really is no fullproof way to do it, someone is always going to find a way to pirate software.

Member Avatar for mike_2000_17
0
133
Member Avatar for chris.shipley.315

Have you tried something like this: Select SaleID, RepID1, RepID2, RepID3,RepFName,RepLName FROM tblSalesMain as s, tbnlRepMain WHERE s.RepID1 = tblRepMain.RepID This would work in Sybase SQL, not sure about others.

Member Avatar for Ancient Dragon
0
126
Member Avatar for happygeek

I installed Windows 8 the other day on my tough-screen computer, this morning it installed an update. Guess what? CRASH! I can't even boot it, I was using the IE10 when I got about 15 error messages about hard drive problems, then let it scan my hard drive. Lots of …

Member Avatar for mido2013
8
2K
Member Avatar for owenransen
Member Avatar for Kwesi_1
Member Avatar for beastie805

Use a pointer and expand the array as needed. Better yet, use std::vector or std::list, both will auto expand for you. For example: `StudentList* Students; // pointer to an array` or `std::vector<StudentType> Students;`

Member Avatar for beastie805
0
124
Member Avatar for Deep Modi

Are you asking how to get Notepad to recognize fonts and colors in the text you saved from RighEdit control? That will never happen.

Member Avatar for Deep Modi
0
1K
Member Avatar for Rawan_1

Post the code you have attempted to write and ask specific questions. We are not going to do the work for you.

Member Avatar for kal_crazy
0
153
Member Avatar for happygeek

I have both a Samsung tablet and an iPod, use neither for online shopping, always use my Windows 7 PC because its easier. I have seen a few (very few) people using tablets while shopping, most likely to do price comparisons or look at their shopping list.

Member Avatar for Ancient Dragon
1
549
Member Avatar for deceptikon

>Can you find a safe way to execute an external program? No. It doesn't matter how you do it someone can always replace the intended program with his/her own malicious one. If you are that parinoid about it, the best way to prevent it is to not execute external programs …

Member Avatar for Assembly Guy
0
305
Member Avatar for Mehak murtaza
Member Avatar for princessophia

or, using c-string directly char string[255] = {0}; cin.getline(string,sizeof(string)); The difference between cin >> and cin.getline() is that cin >> stops reading the keyboard when it encounters the first white-space character, while cin.getline() only stops when either the buffer is fulled or the Enter key is detected. So if you …

Member Avatar for Assembly Guy
0
255
Member Avatar for anelyn.fabular.7
Member Avatar for Learner010

>,types of pointers like near pointer , far pointer Those are obsolete -- no longer used by modern compilers. You will only run into those if you use Turbo C or some other 16-bit MS-DOS compilers. Otherwise, yes, pointers can become very difficult and confusing even to old programmers.

Member Avatar for Learner010
0
311
Member Avatar for guente

Are you trying to put the cust id in one control and cust name in another? That could get confusing to keep them straight. Much easier to put them in a grid control and let the grid control keep then together. And you can do it all in just one …

Member Avatar for ryanjayson
0
212
Member Avatar for arundlk

Of course it's possible. Just get (buy) Microsoft Visual Studio 2013 (there are probably other compilers too) and you can write as many apps as you want. That doesn't mean any of them are sellable. The best part of writing mobile apps is GOOD DESIGN, not programming. You can be …

Member Avatar for vjproduction
0
203
Member Avatar for christinetom

White space includes space, line feed, and tab characters. So testing for just space isn't right. And line 5 uses the assignment operator = instead of the boolean operator ==. The easiest way to test for white space is to use the standard macro [isspace()](http://www.cplusplus.com/reference/locale/isspace/) char char1; // iterating through …

Member Avatar for christinetom
0
133
Member Avatar for elie.karkafy

Begin by placing a FlowLayoutPanel control on the left side of the window, then put other controls on top of it. Change the background color of all controls to whatever color you want them to be.

Member Avatar for elie.karkafy
0
280
Member Avatar for H_beginner

It's because you're using eof() incorrectly eof() doesn't know it's end-of-file until an attempt is made to read it. A better loop is like this. Note: eof() is unnecessary, at least I've never found a use for it. while(in_file>>eve>>am>>dat>>bal ) { cout<<eve<<setw(10)<<am<<setw(20)<<dat<<setw(10)<<bal<<endl; }

Member Avatar for deceptikon
0
290
Member Avatar for Rickname

I have not tried it with a browser app, but win32 api CreateProcess() allows you to start a process with SW_HIDE attribute.

Member Avatar for Rickname
0
473
Member Avatar for jrosh
Member Avatar for sebastianedu
0
201
Member Avatar for georgecalvin12

I love Irish Mist, but can't drink it any more. Now I just drink diet Pepsi, water, and ice tea.

Member Avatar for happygeek
0
180
Member Avatar for GEORGE V

how old is the computer? what brand internet card? Is it internal to the motherboard of an add-on card?

Member Avatar for techsheaven
0
137
Member Avatar for amvx86
Member Avatar for amvx86
0
410
Member Avatar for Ancient Dragon

Is it possible to post equations that look like equations? I mean something like the Lensmaker's equation in [this wiki article](http://en.wikipedia.org/wiki/Lens_(optics)) If yes, how?

Member Avatar for JorgeM
0
301
Member Avatar for Warrens80
Member Avatar for dhruv_arora

Microsoft decided to hide that menu on you thinking that programmers are too dumb to know how to use it. To activate the Build menu click on Tools --> Settings then select [b]Expert[/b].

Member Avatar for Ancient Dragon
0
3K
Member Avatar for clasp1

When you copile for debug the compiler uses the debug version of windows dlls instead of the standard non-debug version. So if you move your debug program to a compiler that doesn't have Visual Studio installed the os will not contain the debug version of the DLLs. You have to …

Member Avatar for clasp1
0
653
Member Avatar for kymera

>i need the whole c++ programming code Not going to happen. Please post the code you have tried and we'll help you fix it.

Member Avatar for stevedaniel
0
240
Member Avatar for Neuman

If you are beginner, don't expect to get any of the best jobs, instead just get any job you can find. You have to pay your dues before landing any of the best jobs.

Member Avatar for Neuman
0
70
Member Avatar for pc20912

Don't put the password in MySetting in the first place. Hardcode the password inside your program when connecting to the db, or prompt for password then put the text in the connection string.

Member Avatar for Dili1234
0
620
Member Avatar for Ahmadabbas

The formula is given in [this wiki](http://en.wikipedia.org/wiki/Lens_(optics)) article. Doesn't look like "simple programming" can be used.

Member Avatar for Ancient Dragon
0
25
Member Avatar for COKEDUDE

>I am trying to calculate the size of char * sizeof() won't give you what you want, all sizeof gives you is sizeof(char\*), not the number of bytes allocated to the pointer. All 32-bit compilers on MS-Windows and \*nix machines sizeof(char\*) is a constant value of 4, same as sizeof(long). …

Member Avatar for Ancient Dragon
0
263
Member Avatar for andreagonz9

>if someone could help with at least part of it You mean you want us the translate the entire program? What exactly do you mean by "last part"?

Member Avatar for andreagonz9
0
477
Member Avatar for el.maxim.st

Scan your computer for visuses and malware. What version of MS-Windows are you running?

Member Avatar for el.maxim.st
0
163
Member Avatar for ali.mokhtari.560

Post the code you have tried. If you are not allowed to use a loop then do it with recursion (a function that repeatedly calls itself)

Member Avatar for Ancient Dragon
0
110
Member Avatar for cambalinho

windows.h already contains a variant structure ([link here](http://msdn.microsoft.com/en-us/library/windows/desktop/ms221627(v=vs.85).aspx)). All it is is an union of a lot of objects, and an integer to indicate the type of object that is used. Here is a simplified version of it, the data members in windows.h do not have the same names as …

Member Avatar for cambalinho
0
236
Member Avatar for toniann.midori

I think TrackArray should be a 2d array, first dimension is the number from array[] and the second dimension is the count. So all you have to do is iterate through array[]. For each value in array[] search the first dimension of TrackAwway to see if the number is already …

Member Avatar for Ancient Dragon
0
207
Member Avatar for prashantsharmazz
Member Avatar for daino
Member Avatar for daino
0
196
Member Avatar for moh2013

line 13 should be `cin>>newlink->link->data->account_number;` Compare that with the other errors you posted and you will see what's wrong with them.

Member Avatar for saeidzamani
0
135
Member Avatar for Ahsanali1603

Text files can not be changed directly. Read the file into memory, make changes in memory, then rewrite back to the file.

Member Avatar for Ahsanali1603
0
129

The End.