15,300 Posted Topics

Member Avatar for mbatipen
Member Avatar for mbatipen
0
218
Member Avatar for Assembly Guy

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 …

Member Avatar for Assembly Guy
0
204
Member Avatar for somjit{}

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 …

Member Avatar for deceptikon
0
306
Member Avatar for Zsmash

> 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(), …

Member Avatar for Ancient Dragon
0
372
Member Avatar for Skyline77

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

Member Avatar for somjit{}
-7
588
Member Avatar for paulkd

OMG! I did not notice we now have spellcheck :) :) When did you sneek that in on us??? Now if we could only get smilies

Member Avatar for <M/>
0
214
Member Avatar for Ancient Dragon

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 …

Member Avatar for prixat
0
229
Member Avatar for jackmaverick1

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 …

Member Avatar for mike_2000_17
0
246
Member Avatar for dannywest

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.

Member Avatar for Ancient Dragon
0
28
Member Avatar for np complete

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

Member Avatar for BobS0327
0
250
Member Avatar for webecedarian

I doubt Ma Bell (as us telephone companies are called) care as long as they get their money.

Member Avatar for Ancient Dragon
0
199
Member Avatar for general2012

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.

Member Avatar for general2012
0
131
Member Avatar for Franze

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

Member Avatar for Ketsuekiame
0
226
Member Avatar for andrew.mendonca.967

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)` …

Member Avatar for andrew.mendonca.967
0
571
Member Avatar for dalewalker

According to the comments in that link the probem seems to have been fixed over a year ago.

Member Avatar for Ancient Dragon
0
454
Member Avatar for Max_3

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 …

Member Avatar for Ancient Dragon
0
100
Member Avatar for Ceejayyy

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.

Member Avatar for Ancient Dragon
0
140
Member Avatar for Huang xiao

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 …

Member Avatar for Huang xiao
0
100
Member Avatar for movarth

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 …

Member Avatar for Ancient Dragon
0
124
Member Avatar for Jahliah

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 …

Member Avatar for Jahliah
0
179
Member Avatar for Dani

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.

Member Avatar for happygeek
0
188
Member Avatar for nitin1
Member Avatar for Sky rain
Member Avatar for kal_crazy

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

Member Avatar for Ancient Dragon
0
346
Member Avatar for manel1989

Normlly you would not want to do that. But you could just make the grid Public in the class header file.

Member Avatar for Ancient Dragon
0
244
Member Avatar for ektubbe

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]; } }

Member Avatar for Ancient Dragon
0
281
Member Avatar for MasterHacker110

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 …

Member Avatar for Schol-R-LEA
0
204
Member Avatar for Ancient Dragon

I recevied one vote on one of my posts and got two emails for it dated about 1 minute apart.

Member Avatar for Dani
0
70
Member Avatar for matthewwhite011

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 …

Member Avatar for Reverend Jim
0
962
Member Avatar for broj1

43 years ago! Hummmm -- was Dani even born yet? I knew Dani was good -- but didn't know she was that good :)

Member Avatar for stultuske
1
906
Member Avatar for manel1989
Member Avatar for arun.mmassy

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 …

Member Avatar for Everyauction
-1
183
Member Avatar for ovalaukido

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 …

Member Avatar for Ancient Dragon
0
157
Member Avatar for Mr.Sagr

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

Member Avatar for Ancient Dragon
0
136
Member Avatar for gaurav23

Why am I not surprised it doesn't work? All it does is read the data and then does nothing with it.

Member Avatar for gaurav23
0
225
Member Avatar for Ancient Dragon

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?

Member Avatar for gerbil
0
202
Member Avatar for ProDev7

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 …

Member Avatar for ProDev7
0
207
Member Avatar for willscarlet
Member Avatar for jingda
Member Avatar for nitin1

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.

Member Avatar for nitin1
-2
158
Member Avatar for br0wnm4n

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

Member Avatar for jwenting
0
192
Member Avatar for Dani
Member Avatar for Ancient Dragon
Member Avatar for nmakes

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

Member Avatar for Ancient Dragon
0
227
Member Avatar for jd217

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.

Member Avatar for jd217
0
1K
Member Avatar for christinetom

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

Member Avatar for christinetom
0
275
Member Avatar for iamthwee
Member Avatar for Klahr_R

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 …

Member Avatar for BigPaw
1
242
Member Avatar for Raja ali
Member Avatar for nullptr
0
125
Member Avatar for howard.johnson

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 …

Member Avatar for howard.johnson
0
151

The End.