Question for Programmers

Discuss anything you like on this forum.
Post Reply
User avatar
radiant
Licensed Customer
Posts: 699
Joined: Mon Apr 05, 2010 12:00 pm
Location: Adelaide, Australia
Contact:

Ok so i am in my IT class we are currently learning HTML and JAVA script.
Its all pretty easy so far.
But this lesson that i had was really a nightmare.

So there i am with the my 150 lines of code (nothing special most of it is image/URL linkings/tables and loads of buttons :lol: )
I then went to preview my work and nothing showed up NOTHING.
And yes i did start/close it off with </body> </html> ;)
So there i was spending 20 min looking at each line.
And then wouldent you know it i forgot to put the ";"
in line 75. :evil: :roll: :cry:

So have this ever happen to you?

in either C,C++, java or javascript
Win8 Pro 64bit ULT|Intel Core i7 3930K|3.20 GHz|32 GB RAM|GTX 590|UD5 2011 socket||2x TB HD||Master Cooler HAF X||Blender 2.6||Maya 2012||Octane|
User avatar
matej
Licensed Customer
Posts: 2083
Joined: Fri Jun 25, 2010 7:54 pm
Location: Slovenia

That's the most common typo ever and the reason why we love Python :lol:

Ofcourse you wouldn't loose 20 min starring at lines in C++, Java... because the compiler (or IDE) would warn you about that.
SW: Octane 3.05 | Linux Mint 18.1 64bit | Blender 2.78 HW: EVGA GTX 1070 | i5 2500K | 16GB RAM Drivers: 375.26
cgmo.net
kloczas
Licensed Customer
Posts: 6
Joined: Mon Aug 23, 2010 9:41 am
Location: Poland
Contact:

If you work with HTML/xHTML and javaScript I recommend you to use Netbeans - just download the latest version for PHP from official download page. It very easily finds most of possible errors you could make ;) I use it from some time now and I'm more than happy with it. You should definitely check it out 8-)
Windows 7 64bit Pro || AMD Phenom x4 9600 || 4 GB RAM || GTX 260 & Geforce 8200 || nVidia 258.96 CUDA 3.0 || Blender 2.5 Beta || Octane ||

My webdesign portfolio
User avatar
grimm
Licensed Customer
Posts: 1332
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

Welcome to the wonderful world of programming. :twisted: The first computer teacher I had told us the following analogy:

On the back of a bottle of shampoo you will find a set of instructions.

1) Apply shampoo, lather, rinse.
2) Repeat.

If you were to give these instructions to a computer and asked it to run them, the computer would keep doing step 1 forever. At least until it ran out of shampoo, or hair, then it would crash.

Computers will always do exactly what you say and never what you mean. :lol:
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

quickbasic -> turbo pascal -> C -> C++

that's the way to get were I am, in a 10 year time frame,
ditch the html/javascript. you'll grok it anyway if you do the above.
then you just study the physics from lots of books, locking yourself in your bedroom for 6 months with enough dry food.

You'll emerge a new person.

However, to run a project like octane you need to make a choice between it or a family.

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
User avatar
radiant
Licensed Customer
Posts: 699
Joined: Mon Apr 05, 2010 12:00 pm
Location: Adelaide, Australia
Contact:

Yeah my school is teaching us HTML and java so i need to know it to get a A in IT.
Even tho i always get As in IT.

But yeah i might start to learn some C++ now.
I just dont know where to start.
I have the bloodshed Complier somewhere on my HD :lol:
Win8 Pro 64bit ULT|Intel Core i7 3930K|3.20 GHz|32 GB RAM|GTX 590|UD5 2011 socket||2x TB HD||Master Cooler HAF X||Blender 2.6||Maya 2012||Octane|
User avatar
SamPage
Licensed Customer
Posts: 132
Joined: Mon May 10, 2010 8:56 pm
Location: Burbank, CA

radiant wrote:But yeah i might start to learn some C++ now.
I just dont know where to start.
I have the bloodshed Complier somewhere on my HD :lol:
Since you are in school for IT, its pace may be a bit remedial for you, but I found C++ Primer Plus by Stephen Prata to be an absolutely fantastic resource. C++ was my first OOP language, and that book was a great introduction.

As for IDEs, you can get the express edition of Microsoft Visual Studio for free, it just doesn't come with MFC. There are certainly other IDEs, but VS's ubiquity can be comforting in terms of support, and a wide variety of 3rd party add-ons, SDKs, etc. integrate easily.
Win 7 64bit | 2x GTX 285 | i7 920 | ASUS P6T Deluxe | 12GB
User avatar
radiant
Licensed Customer
Posts: 699
Joined: Mon Apr 05, 2010 12:00 pm
Location: Adelaide, Australia
Contact:

i will look in to that when i get back from school :D
Cheers
Win8 Pro 64bit ULT|Intel Core i7 3930K|3.20 GHz|32 GB RAM|GTX 590|UD5 2011 socket||2x TB HD||Master Cooler HAF X||Blender 2.6||Maya 2012||Octane|
User avatar
Jaberwocky
Licensed Customer
Posts: 976
Joined: Tue Sep 07, 2010 3:03 pm

Good God

I remember when they used to compile using assembly language down to native code rather than the raft of Net Languages now that use Pseudo Code to compile down to Just in time code.Still when you were trying to get things onto a 48K Sinclair Spectrum you had little choice.Nowdays with the multicore processors and the GB's of ram available.It's probably no longer that important.
CPU:-AMD 1055T 6 core, Motherboard:-Gigabyte 990FXA-UD3 AM3+, Gigabyte GTX 460-1GB, RAM:-8GB Kingston hyper X Genesis DDR3 1600Mhz D/Ch, Hard Disk:-500GB samsung F3 , OS:-Win7 64bit
Post Reply

Return to “Off Topic Forum”