15,300 Posted Topics
Re: Start here: #include <iostream> int main() { // put your code here } | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: > 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 … | |
Re: 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 … | |
Re: >who can solve this? Probably anyone who has half a brain. | |
Re: 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 … | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: Check if any of the windows are derived from CDocablePane. | |
Re: 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;` | |
Re: Are you asking how to get Notepad to recognize fonts and colors in the text you saved from RighEdit control? That will never happen. | |
Re: Post the code you have attempted to write and ask specific questions. We are not going to do the work for you. | |
Re: 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. | |
Re: >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 … | |
Re: 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 … | |
Re: How are the LED lights connected to the computer? | |
Re: >,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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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; } | |
Re: I have not tried it with a browser app, but win32 api CreateProcess() allows you to start a process with SW_HIDE attribute. | |
Re: Why would you want to do that? Older versions may not be compatible with Windows 8. | |
Re: I love Irish Mist, but can't drink it any more. Now I just drink diet Pepsi, water, and ice tea. | |
Re: how old is the computer? what brand internet card? Is it internal to the motherboard of an add-on card? | |
Re: Is the ip address, user ID and password correct? I hope you didn't actually post the correct password. | |
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? | |
![]() | |
Re: 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]. | |
Re: 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 … | |
Re: >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. | |
Re: 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. | |
Re: 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. | |
Re: The formula is given in [this wiki](http://en.wikipedia.org/wiki/Lens_(optics)) article. Doesn't look like "simple programming" can be used. | |
Re: >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). … | |
Re: >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"? | |
Re: Scan your computer for visuses and malware. What version of MS-Windows are you running? | |
Re: 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) | |
Re: 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 … | |
Re: 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 … | |
Re: What does the acrnym IBM stand for? A: It's Better Manually. | |
Re: >Don't worry i don't know what your talking about Then don't post in the thread. | |
Re: 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. | |
Re: Text files can not be changed directly. Read the file into memory, make changes in memory, then rewrite back to the file. |
The End.