Recent content by technoweasel
-
T
Learn C Programming: Tips for Engineering Student
A great book is Herb Shildt's "C++: The Complete Reference" C is not a great language to start with. You would have definitely benefitted from learning Basic or something first. However, you will get through it. Practice writing little console apps to do things like Conway's Game of Life...- technoweasel
- Post #20
- Forum: Programming and Computer Science
-
T
Efficiently Count Bits in 32-bit Integers using Bit Operations
I have been looking into bitboards in chess programming a bit and found that some newer processors have assembly language instructions that might solve your problem, but I have no specifics.- technoweasel
- Post #4
- Forum: Programming and Computer Science
-
T
What Should I Learn? Programming Advice for 18-Year-Old
Sorry no one ha answered yet. C++ is a great language if you are not a total beginner. I moved from Basic to C a year or two ago for my general amateur programming and have never gone back. C is the industry standard for applications of all sorts because it is powerful and portable...- technoweasel
- Post #2
- Forum: Programming and Computer Science
-
T
Java I am stuck with a little javascript problem
Sorry, but I can't help. I am a C guy and have never done web dev. However, I would like to suggest that perhaps you should describe your problem more thorougly and provide the code that you have tried to use. Then someone with javaScript knowledge may get a better idea of what you "mean."- technoweasel
- Post #2
- Forum: Programming and Computer Science
-
T
Free C(++) compiler for DOS but runs on Windows
Just a quick question. I have tried searching, but Google is fairly useless for me. Do any of you know of free C or C++ compilers that can create programs for DOS but run on Windows (specifically, Vista)? I have an old DOS machine but don't want to have to write code on it. Instead, I want...- technoweasel
- Thread
- Compiler Dos Windows
- Replies: 5
- Forum: Programming and Computer Science
-
T
What Are Innovative Senior Project Ideas in Science and Technology?
What about doing some chess programming. This is a very interesting research filed in computer science and encompasses artificial intelligence, algorithms, optimization, etc. You could integrate your interest in robotics by constructing a computer controlled arm to play on a real board.- technoweasel
- Post #6
- Forum: Programming and Computer Science
-
T
Q: how variable declaration & initializing in C Language.
Quite sorry about the missing ;. It seems like I do that all the time when switching languages; HTML and Basic get semicolons while I forget them in C.- technoweasel
- Post #11
- Forum: Programming and Computer Science
-
T
Java Can a Beginner Succeed in Intermediate Java Programming?
Redd, are you still here? If so, I would like to say a few things. First, Java is not a good language for beginners to learn, in my opinion, since even a "Hello, World" program requires the use of advanced object-oriented concepts. Simple programs in Java are much more complicated than...- technoweasel
- Post #6
- Forum: Programming and Computer Science
-
T
Q: how variable declaration & initializing in C Language.
Please remember that in straight C variables must be declared before code in functions and that structures must be declared with the keyword "struct" struct whatEver { int x, y, z; float q; } /* declare a whatEver variable named test */ struct whatEver test; /* same thing with...- technoweasel
- Post #8
- Forum: Programming and Computer Science
-
T
Vote for your favourite math software
I am not sure if this is what you were asking, but here are some of my thoughts: C++ is great. Every day I thank god for Dennis Ritchie and Bjarne Stroustrap. However, although there are math libraries and it can be used for exploring math (just last week I wrote a little Bezier curve app...- technoweasel
- Post #13
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
T
Checking for Interger in C for Leap Years
CompuChip's reply about the "modulus" operator should work perfectly. If you are unfamiliar with typecasting [ like "(int)" ] you might want to look into that, although your current problem seems to be solved.- technoweasel
- Post #4
- Forum: Programming and Computer Science
-
T
Writing a C Program for "I Before E Except After C" Rule
It seems like you don't know a lot about C yet (no offense). If you are learning by yourself, I would recommend two books. First, "C Pocket Handbook" (or something like that), which is a small paperback from Wiley that has a cow on the front and is only around $10. Second, you might want to get...- technoweasel
- Post #3
- Forum: Programming and Computer Science
-
T
Creating a 2D Cellular Automata with Modifications
Do you know C or Basic programming? If so, you can write a console version of Conway's game of life in less than 100 lines. I don't know anything about Matlab, but I know that FreeBasic is very easy to use and has a simple graphics library. It might work if you are new to coding.- technoweasel
- Post #2
- Forum: Programming and Computer Science
-
T
Can toothpicks and wood glue mimic real bridge designs for a school project?
You're right, nvn. Thanks, guys. If I wasn't clear, the "bridges" do not require a road deck, and the instructor adds weights to an area near the center of the span until the structure collapses. Are there any web pages that discuss this in detail? I might use a curve anyway because I have...- technoweasel
- Post #5
- Forum: Engineering and Comp Sci Homework Help
-
T
Can toothpicks and wood glue mimic real bridge designs for a school project?
I have a question about bridges. I am not sure if this is the right place, since everyone else is discussing more advanced things, but I couldn't find anything (I did try to search). If this post is out of place just please redirect me. For school I need to design and then build a bridge to...- technoweasel
- Thread
- Bridge Design
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help