Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Member Avatar for scarypajamas

Maybe you could help me with the following code... [CODE=c] int main() { char foo = '?'; // foo is created on the stack. char* bar = "Hello World"; // where is bar created? // will the following result as a NOP or undefined behavior? free(bar); return 0; } [/CODE] …

Member Avatar for scarypajamas
0
105
Member Avatar for scarypajamas

I've already taken an intro level physics course at my University where we discussed the basics (boolean algebra, logic gates, etc.) But we never covered VHDL. I [I]really[/I] want to learn more about VHDL. I'm not sure were to get started. I tried googling for information however, I'm not sure …

Member Avatar for iamthwee
0
73
Member Avatar for scarypajamas

Oh, so I know you can include html files inside html files using: [CODE]<!--#include virtual="myfile.html" -->[/CODE] The problem is, I might want to change the html I include based upon variables passed between web pages. For example... [CODE] <script type="text/javascript"> var name = getValue("myValue"); //getValue returns the value of a …

Member Avatar for Thirusha
0
173
Member Avatar for scarypajamas

Say I have a point A at (1,3) and a point B at (2,1) and point B has an angle of 45 degrees. I need a formula that will tell me which direction (right or left) B should turn so it points at A the fastest. --(my attempt)-- I originally …

Member Avatar for scarypajamas
0
125
Member Avatar for scarypajamas

I'm doing some math with floating point numbers and I'm getting weird results. For instance, the result of one of my math problems has an "e" and "+" in it. -4.49255e+013 How do I make it display a value without the weird "e" and "+"

Member Avatar for necrolin
0
108
Member Avatar for scarypajamas

I'm using IFrame to display a webpage in another webpage. The problem is the child webpage I'm displaying varies in size as it moves from link to link. IFrame makes you put in a fixed size when you create it, but the size changes and I need to know how …

Member Avatar for almostbob
0
75
Member Avatar for scarypajamas

Currently, I'm a computer science major, but my University offers two separate computer majors. Information Technology and Computer Science I'm not that exceptional of a math student, and I've been told that Information Technology requires less math then a CS degree. What worries me though is how far a degree …

Member Avatar for Rashakil Fol
0
204
Member Avatar for scarypajamas

In my MFC c++ app, when I try to include afxwin.h into my project, it gives me these errors. Whats the problem with it? Did I misunderstand something? I'm using vc++ 2005 express if it makes a difference. [TEX]1>C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\mfc/afx.h(250) : warning C4793: …

0
111
Member Avatar for scarypajamas

I've have a class function below (using fstream) for my game that I had working on Visual C++ 2008. When I tried to port my app to xcode, I found it compiled, but complained that the directory doesn’t exist. Believe me, the directory exists. I've checked and rechecked! Basically this …

Member Avatar for iamthwee
0
993
Member Avatar for scarypajamas

I have a class called Thing that defines vector<string> stuff. I have no problem declaring anything I want inside "class Thing" itself or functions from it, like "void Thing::bob" works fine. My problem is when I inherit this class. For some reason I get my program terminated. pseudocode: [CODE]Class Thing …

Member Avatar for Narue
0
136