Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
52% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
1 Commented Post
~36.3K People Reached
Favorite Tags
Member Avatar for coolbeanbob

I've spent hours, an embarrasing number of HOURS on how to read a text file into a program. The requirements have shifted, but still. I hate you C. You and all your pointers. The text file is a matrix, but with the first line being the number of rows. See …

Member Avatar for deceptikon
0
171
Member Avatar for CPAtoCompSci

All - I am interested in making a career change. I am in my thirties, a CPA and am certain I would like to do something in computer science. It is possible to take masters level prerequisites and go to school fulltime for a comp sci degree, but am also …

Member Avatar for Alex_15
0
711
Member Avatar for coolbeanbob

Hi Everyone, I am trying to get the program below to work correctly. The line below is where I'm having trouble. (line 33 in PrefixCalc.java) calc = new ExpressionTree(new Scanner(console.nextLine())); When I run the program and enter "4 + 8", the scanner only picks up "4". Apparently this program was …

Member Avatar for deceptikon
0
326
Member Avatar for coolbeanbob

I am trying to get the program below to work. I keep getting the error below, and I can't figure out why??? Derived.obj : error LNK2001: unresolved external symbol "public: virtual class Other * __thiscall Derived::add(int,int)" (?add@Derived@@UAEPAVOther@@HH@Z) #ifndef _BASE_H_ #define _BASE_H_ #include "Other.h" class Base{ public: virtual Other *add(int x, …

Member Avatar for Moschops
0
238
Member Avatar for coolbeanbob

Hello, I am working on an assignment. I am given the code below. I am trying to figure out what the line directly below is doing. Is this a functor? I am getting a compiler error saying the compiler expects a ';' before the '*'. I've searched for functor examples, …

Member Avatar for rubberman
0
190
Member Avatar for coolbeanbob

I would like thoughts/advice on the project I am working on. I am trying to build a program that simulates the score of a baseball game given individual player statistics. As of right now, the program only has one team batting for nine innings. I am a computer science student …

Member Avatar for JamesCherrill
0
192
Member Avatar for coolbeanbob

Hello all, I am 28 years old and have about 4 years experience as an accountant. I am currently enrolled at a local university taking two intro computer science courses. I am curious as to what opportunities might be available given my accounting background. According to my academic advisor I …

Member Avatar for ORIGIN
0
342
Member Avatar for sillyboy

I usually listen to music while I'm browsing here, what are you listening to right now? EL-P - Fantastic Damage

Member Avatar for Helianthus
0
5K
Member Avatar for coolbeanbob

I know .NET is a Microsoft framework. I currently use Visual Studio 2008 for C++ programming in school. Am I using .NET? What is .NET? More specifically, is C++ a .NET framework by default? Does it just relate to the class libraries?

Member Avatar for nmaillet
0
98
Member Avatar for coolbeanbob

Hello, I know nothing about web development or ASP.NET. I started a tutorial tonight that consisted of cutting and pasting code into the editor. Now I am getting an error with the code I have cut and pasted. Does anyone know what is wrong with calling the RenderBody() on line …

Member Avatar for kvprajapati
0
86
Member Avatar for coolbeanbob

I am beginning a master's degree in computer science this coming fall. I have been reading about "big data". Does anyone work or study in this field? I know it is relatively new, but I am curious as to how one would get involved.

Member Avatar for Rashakil Fol
0
88
Member Avatar for coolbeanbob

Is this a real class? I am working through a Deitel book, and they use it, but my program does not recognize it. I am importing the same libraries as the example in the book.

Member Avatar for pdeitel
0
230
Member Avatar for coolbeanbob

Hello, I am trying to work through an example from a Deitel book. I keep getting a "source not found" error on line 27 of the LabelFrame class. I have put the "bug1.png" in every single directory associated with this project. I am stumped... [CODE] import java.awt.FlowLayout; import javax.swing.JFrame; import …

Member Avatar for coolbeanbob
0
183
Member Avatar for coolbeanbob

Just wondering if it is worth taking the time to learn the GUI packages, or do most developers use GUI designers? I am guessing the GUI designers are more often used by hobbyist, while the professional developers write the code?

Member Avatar for designuts
0
224
Member Avatar for coolbeanbob

Hello, I am working through an SQL Server 2008 book. I am to the query section. I have copied the query below, word for word (I believe), but the system is showing a problem at line 10. This is the first query I have tried to create. I don't see …

Member Avatar for BitBlt
0
156
Member Avatar for coolbeanbob

Hello, My roommate and I are both connected to the same wireless router. We have both tested our download speeds at websites such as speedtest.net and speakeasy.com. For some reason, he is getting 13+ Mbps, while I am downloading 1-2 Mbps. I am running AVG free edition and have the …

Member Avatar for coolbeanbob
0
299
Member Avatar for coolbeanbob

I am relatively new to programming. Today I met with a headhunter. Without asking the question, this person told me that java was where it's at. I was surprised to hear this. I know java is widely used, but it seems like there are plenty of opportunities with C++ and …

Member Avatar for jwenting
0
164
Member Avatar for coolbeanbob

I set a reminder in my phone for this date. Remember the "January 3rd" glitch? Hopefully it has been fixed. Either way, tonight I will be using a backup alarm. [url]http://blogs.computerworld.com/17592/iphone_alarm_clock_glitch_still_not_working_ios_bug_fail[/url]

0
31
Member Avatar for stupidenator

Hi everyone, I am having a problem while trying to do an operator overload of operator<< I am getting: [CODE]Stack.cpp:96: `std::ostream& Stack::operator<<(std::ostream&, const Stack&)' must take exactly one argument Stack.cpp:96: no `std::ostream& Stack::operator<<(std::ostream&, const Stack&)' member function declared in class `Stack'[/CODE] I can't seem to find why I am getting …

Member Avatar for journeyjie
0
10K
Member Avatar for coolbeanbob

Homework Question: [CODE]For a direct-mapped cache design with 32-bit address, the following bits of the address are used to access the cache. Tag: 31-10 Index: 9-4 Offset: 3-0 What is the cache line size (in words)?[/CODE] Answer is: [CODE]The cache line size = 2^byte offset bits = 2^4 = 16 …

0
62
Member Avatar for coolbeanbob

Not sure I understand what is going on with setw(). [CODE] I would expect the program below to output something like this 77 77 77 77 Instead, it does this: 77 77 77 77 77 77[/CODE] Why are the first three 77's not indented? [CODE]#include "utility.h" // setw example #include …

Member Avatar for Schol-R-LEA
0
222
Member Avatar for coolbeanbob

Hello, I am currently working towards a computer science degree. I am interested in both software engineering and database administration, but I am not sure which I will prefer as a career. I am considering working on an Oracle certificate, just to get my feet wet, and see how well …

Member Avatar for coolbeanbob
0
267
Member Avatar for coolbeanbob

Hello everyone, Like the headline says, my computer goes crazy when I run this program. The problem did not occur until I added lines 80-83. When the program is run, my computer starts beeping and weird characters show up on the console. Any thoughts on the problem and why it …

Member Avatar for WaltP
0
148
Member Avatar for coolbeanbob

Help! Why am I getting the following error on line 100?? I don't get an error when I use storage in other places? error C2065: 'storage' : undeclared identifier [CODE]#include "utility.h" struct masterFile // master file record { int employeeID; string employeeName; string departmentID; int YTDhoursRegular; int YTDhoursOvertime; double regularPayRate; …

0
53
Member Avatar for coolbeanbob

Is it possible to have multiple input streams open at the same time? I know it takes a lot of time to open a file, and I am trying to be as efficient as possible. I really need to have two streams open at the same time. The data is …

Member Avatar for coolbeanbob
0
245
Member Avatar for coolbeanbob

Hello, I am working on the following problem [CODE]You are asked to optimize a cache design for the given references. There are three direct-mapped cache designs possible, all witha total of eight words of data: C1 has one-word blocks, C2 has two-word blocks, and C3 has four-word blocks. In terms …

Member Avatar for Rashakil Fol
0
469
Member Avatar for coolbeanbob

Problem: Find a mathematical derivation for the exact number of assignments and comparisons for the worst case insertion sort scenario. I know the worst case scenario is the list being in reverse sorted order. My best guess from looking through these is: Step one being (2+(n-1)*(n-1)) Step two being (2+(n-2)*(n-2)) …

Member Avatar for coolbeanbob
0
217
Member Avatar for coolbeanbob

Hello all, I have a text file set up as follows. 1 1 1 2 2 2 The program below is not reading the first line. The code below will only read 2 2 2. What am I missing here? main.cpp [CODE]#include <iostream> #include <limits> #include <cmath> #include <cstdlib> #include …

Member Avatar for coolbeanbob
0
162
Member Avatar for coolbeanbob

Hello, I am getting the following error from line 108. I'm trying to find information on the error. The elapsed_time function returns a double, so I'm not sure where there is a problem. error C3867: 'Timer::elapsed_time': function call missing argument list; use '&Timer::elapsed_time' to create a pointer to member [CODE]#include …

Member Avatar for coolbeanbob
0
144
Member Avatar for coolbeanbob

Not sure if anyone is familiar with column sort. I have this very close to working, but there are a few instances where the numbers are out of order. They occur at the beginning of each new column. I am looking for bugs in my transpose(), reverse_transpose(), shift(), and reverse_shift() …

0
69