15,300 Posted Topics
Re: you will have to get the specs from the manufacturer how to get that info. | |
Re: Looks ok for me -- except the Related Articles are funky due to something called "in" that appears in a blue retangle and the word "share" in white rectangle. They cover up the letters in Related Articles and the articles. I tried using the scroll wheel on the mouse to … | |
Re: Can you get to other web sites on your computer? A few suggestions: 1. make sure your computer is always running antivirus program and a firewall. 2. clear your browser's catch and temp files. You should do this on a regular basis. 3. If that doesn't fix it delete all … | |
Re: > char urname[1],surname[1],fullname[1]; How many people do you know who have a first, middle and last name that consists of only 1 character??? gets() doesn't allocate new memory, you have to do that yourself. You sort of have to guess about how big to make those variables then use fgets(), … | |
Re: >@Jim, you can do that in a lot of countries... it doesn't cost very much. I think you can buy Ph.D. in USA | |
Re: OMG! I did not notice we now have spellcheck :) :) When did you sneek that in on us??? Now if we could only get smilies | |
I have an external usb dvd drive and an internal blu-ray drive. I use both at the same time for ripping movies to My Book 3TB external hard drive. I've noticed that the external dvd drive is considerably slower than the blu-ray drive. Any idea if the cause is because … | |
Re: Depends. When a function returns a c++ class it will return a copy of the object, not the object iteself, so it doesn't matter if the original object is on the heap or the stack. If the function returns a POD array, such as char array then it must be … | |
Re: Are you asking what to use to produce such apps? I've never done one but I think you can use java, C, C++, and several other languages to write mobile apps. | |
Re: You shouldn't be doing that anyway because it will consume too much cpu time when the clipboard is empty. You need to put a Sleep inside that loop so that other threads can get cpu time. Second The parentheses in the if statement are mis-placed. while (true) { if ( … | |
Re: I doubt Ma Bell (as us telephone companies are called) care as long as they get their money. | |
Re: They are called Global Variables, your textbook probably discusses them. Most programmers today frown on using global variables because they can cause a lot of confusion and debugging problems. Benefits: not many. | |
Re: >So then I beleive it is okay without a pause in the loop Not really -- without a Thread.Sleep() other processes don't have much of a chance to get CPU time. You can easily test this by putting Thread.Sleep(0) inside the loop then check Task Manager to see what affect … | |
![]() | Re: You need to pass the ifstream that is opened in main() to the function that needs to read the data. `int quadValues(ifstream& in, double &x, double &y, double &z)` And to the function that prints the results `int numTable(ofstream& out, double a, double b, double c, double &root1, double &root2)` … ![]() |
Re: According to the comments in that link the probem seems to have been fixed over a year ago. | |
Re: First check if you entered a filename on the command line, if you did then the value argc will be greater than 1. Just make sure there are no spaces in the filename you enter either on the command line or for the prompt "Enter a filename" because cin stops … | |
Re: Do you know how to convert killowatts to watts? If not then use google to find the formula. Once you know the formula writing the program shoud not be too difficult, assuming you have read your textbook and paid attention in class. | |
Re: You can't use *.cpp and *.h files that you created in the console program in C++ language with C#. You will have to modify and translate them into C# language. For example Employee.cpp will become Employee.cs and look something like this: using System; using System.Collections.Generic; using System.Linq; using System.Text; using … | |
Re: If you really want someone to look at your code then attach the actual code to your post using the Files link in the purple ribbon above the editor. Most people will not download files from some other place. If the file(s) are too big then zip then up with … | |
Re: You can't use strings in case statements -- only integers and single characters. If you need strings the only way to do it is with a series of if/else statements. >> "000\"; That is also wrong because the compiler will attempt to use \ as an escape character and out … | |
Re: I was getting some funky problems earlier today, but nothing at the moment. For example when I clicked on menu Geek's Lounge it would time out and return an error. But that was about 12 hours or so ago. No recent probleds. | |
Re: Is your web site written in C language? Probably not. ![]() | |
Re: what operating system? | |
Re: First you have to create a C++/CLR project that uses .NET framework -- it's called Windows Forms in c++/CLR. If you want to use standard c++ then you can't use [System.Drawing](http://msdn.microsoft.com/en-us/library/system.drawing.aspx). With standard C and C++ use win32 api functions and include windows.h | |
Re: Normlly you would not want to do that. But you could just make the grid Public in the class header file. | |
Re: Just open the file and read it one character at a time, passing each character to that function. void foo() { ifstream in("filename.txt"); ofstream out("newfilename.txt"); char c; while( in >> c ) { out << EBCDIC_translate_ASCII[c]; } } | |
Re: I think what you are missing is that you need a [cross compiler](http://en.wikipedia.org/wiki/Cross_compiler). You can't use your masm assembler which was written for MS-DOS operating system to compile your own operating system because masm will expect you to use MS-DOS interrupts. Since you are writing your own os then you … | |
I recevied one vote on one of my posts and got two emails for it dated about 1 minute apart. | |
Re: Dawn of the computer age is mostly responsible for obese children, all they want to do is sit playing on a computer or texting. Even their brains are getting fat due to lack of use, such as learning to do math in their head instead of on a calculator. Some … | |
Re: 43 years ago! Hummmm -- was Dani even born yet? I knew Dani was good -- but didn't know she was that good :) | |
Re: Install is very simple -- just buy the install dvd, put it into your computer's dvd drive, then restart the computer and boot from the dvd. I think I've seen some YouTube videos on how to do that too. From there on just answer the questions. Windows 7 and 8 … ![]() | |
Re: There are at least 2 ways I can think of to write your own string function: 1. Use a linked list of char arrays for storing the read-in-lines from the file. In a loop read a line, allocate new memory for a new node of the linked list, add the … | |
Re: sounds like a virus or malware to me. [Here](http://msdn.microsoft.com/en-us/library/windows/desktop/ms682629(v=vs.85).aspx)'s how to use EnumProcesses() | |
Re: Why am I not surprised it doesn't work? All it does is read the data and then does nothing with it. | |
Any way to make it optional in Control Panel so that those who don't want it can disable it and those who like it can keep it? | |
Re: depends on the compiler. Generally, DEBUG is defined when you want to compile the program for debugging -- the compiler adds a great deal of symbol information and data so that you can use a debugger to single-step through the program and view the value of variables at any given … | |
| |
Re: The process is initially given a limited amount of memory, the operating system expands the memory space as needed. 2^32 is the max amount of memory any 32-bit program can access -- that doesn't mean the process has that much available for its own use. | |
Re: [Accoding to this](https://www.google.com/search?hl=en&site=webhp&source=hp&q=pmp+certification&oq=pmp+&gs_l=hp.1.0.0l10.12435035.12436138.0.12439804.4.4.0.0.0.0.125.288.3j1.4.0...0.0...1c.wpnGTmIUI9k) you can get pmp certs in 4 days. | |
Re: Maybe google has some preferences for vBulletin sites | |
Re: Here is how to refer to members of specific classes int main() { S2 obj; obj.A::x = 123; std::cout << obj.A::x; return 0; } | |
Re: line 20: fgets() parameters are all wrong. Read the description for that function [here](http://www.cplusplus.com/reference/cstdio/fgets/). I think you should just delete lines 20-23. | |
Re: > For one, why is it that when this second node is instantiated it does not totally overwrite the first node? Because they are in different memory locations. It's somewhat the same concept as declaring simple variables inside a function void foo() { int x; // one variable int z; … | |
![]() | |
Re: I usually turn it off at night just before bedtime to help avoid wearing out the hard drive. I wore out one hard drive because I never (or rarely) turned it off. I also turn it off when there's an electrical storm outside, runed one computer that way too with … | |
Re: did you attempt to run the program as administrator? Right-click the executable and you should see a menu item to Run as Administrator. Even though your account may have administrative rights doesn't mean you automatically have all administrative privaledes. Unfortunate, but that is the way it works with Windows 7 … |
The End.