• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Intro to Code?

Joined
Nov 8, 2008
Messages
779 (0.14/day)
Location
Sydney, Australia
System Name Gearbox || Server
Processor i5 3570K @ 4.0Ghz || E8400 @ Stock 3Ghz
Motherboard Gigabyte Z68XP-UD3 || Gigabyte EP41-UD3L
Cooling Stock || Stock
Memory 8GB G.Skill RipjawX DDR3 @ 1600mhz || 4GB Kingston Value DDR2 800Mhz
Video Card(s) ASUS R9 270X Direct CU II TOP @ 1120/1500 || N/A
Storage Samsung 840 EVO 250GB || 1TB WD Green, 2TB WD Green, 3TB WD Red
Display(s) HP x23 LED 23" Full HD Panel
Case Corsair 200R || Open-Air
Audio Device(s) Audioengine D1 + Logitech Z623/Audio Technica ATH-M50 || N/A
Power Supply Antec EarthWatts Platinum 650 W || Antec Neo Eco 450 W
Software Windows 8.1 Update 3 Pro 64 || Ubuntu Server 14.04 64
Hey guys.

I have created some simple batch files that backed up saves for may games...before you ask...lost in external HD incident. :eek:

I am looking into C++ or C so I can create some programs. Do you have an idea where I can learn some basic stuff? I tried googling but I didn't really understand it all that well. Can you help? Links to guides and stuffs?

Cya round!
(and yes...I'm looking at you especially kreij) :laugh:
 

Phxprovost

Xtreme Refugee
Joined
Apr 6, 2009
Messages
1,217 (0.22/day)
Location
Pennsylvania
System Name Result of Boredom
Processor AMD FX-6350
Motherboard ASUS M5A97
Cooling Enzo Tech Extreme-X
Memory 16gb ddr3
Video Card(s) XFX R9 290
Display(s) Asus 24in (1920X1080) X 2 @144hz
Case NZXT S340
Software WIN7 64bit HP
my question is could you even get it to run, windows 7 flips shit when ever i try to run a custom exe...or driver....or just about anything :banghead:
 
Joined
Nov 8, 2008
Messages
779 (0.14/day)
Location
Sydney, Australia
System Name Gearbox || Server
Processor i5 3570K @ 4.0Ghz || E8400 @ Stock 3Ghz
Motherboard Gigabyte Z68XP-UD3 || Gigabyte EP41-UD3L
Cooling Stock || Stock
Memory 8GB G.Skill RipjawX DDR3 @ 1600mhz || 4GB Kingston Value DDR2 800Mhz
Video Card(s) ASUS R9 270X Direct CU II TOP @ 1120/1500 || N/A
Storage Samsung 840 EVO 250GB || 1TB WD Green, 2TB WD Green, 3TB WD Red
Display(s) HP x23 LED 23" Full HD Panel
Case Corsair 200R || Open-Air
Audio Device(s) Audioengine D1 + Logitech Z623/Audio Technica ATH-M50 || N/A
Power Supply Antec EarthWatts Platinum 650 W || Antec Neo Eco 450 W
Software Windows 8.1 Update 3 Pro 64 || Ubuntu Server 14.04 64
my question is could you even get it to run, windows 7 flips shit when ever i try to run a custom exe...or driver....or just about anything :banghead:

Hmmm:shadedshu@windows 7

That has to be the first flaw ive found in 7.
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.21/day)
Location
Cheeseland (Wisconsin, USA)
There is a ton of resource links in the stickied thread at the top of the programming section.
Look there and if you have more questions, just ask ! :toast:
 
Joined
Feb 11, 2008
Messages
607 (0.10/day)
Location
Omaha, Nebraska, USA
System Name Built By Me
Processor Intel Core i9 9900K @ 5.1 GHz
Motherboard Gigabyte Z390 Aorus Ultra
Cooling Custom Water Cooling - CPU Only
Memory 32GB (2 x 16) GSkill Ripjaws V DDR4
Video Card(s) RTX 4080 - ASUS ROG Strix 16GB OC - P Mode
Storage 1TB Samsung 970 Evo NVMe
Display(s) Alienware AW2723DF @ 280 Hz @ 1440P
Case Fractal Design Define S2
Audio Device(s) Corsair Virtuoso Pro
Power Supply 850W Seasonic Platinum
Mouse Razer Viper V2 Pro @ 2k Hz
Keyboard Asus ROG Strix Scope II 96 Wireless - ROG NX Snow Switches
Software Windows 11 Pro
For free c++ tutorials, I used this website. Scroll down until you see the pdf files on the bottom left.
 

DirectorC

New Member
Joined
Nov 4, 2009
Messages
1,624 (0.31/day)
Location
Florizy
System Name -= Son of a Whore =-
Processor E8400 @ 4.0GHz (445 x 9)
Motherboard Gigabyte GA-EP45-UD3R
Cooling Cooler Master Hyper 212+
Memory 3GB Corsair XMS2
Video Card(s) EVGA 8800 GT 512
Storage 74GB Raptor + Caviars in RAID0
Display(s) I-Inc 19" LCD 1440x900
Audio Device(s) Audigy SE & Logitech X-540
Power Supply Corsair 750TX
Software Win32 v6.1.7600
Benchmark Scores Logitech KB & Sidewinder X3
When I wanted to teach myself C in high school I went to the library and checked out this huge boring C programming bible. I also got hands on a C++ book from one of my cousins. Back in the day I learned everything from books--I learned the basics of Windows 95 use and tips and tricks from a book, HTML from the mid-90s tech mag 'The Net', and Linux from a couple of massive Linux bibles. Those were the good old days though, when we still used paper.

Before any of that, though, I actually had an older friend of mine sit down and show me some BASIC coding when I was in middle school. That was fun, and what got the whole thing started. It's a good way to learn programming structure (algorithms), also.

I detest coding though, and will never do it for a living.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
26,259 (4.65/day)
Location
IA, USA
System Name BY-2021
Processor AMD Ryzen 7 5800X (65w eco profile)
Motherboard MSI B550 Gaming Plus
Cooling Scythe Mugen (rev 5)
Memory 2 x Kingston HyperX DDR4-3200 32 GiB
Video Card(s) AMD Radeon RX 7900 XT
Storage Samsung 980 Pro, Seagate Exos X20 TB 7200 RPM
Display(s) Nixeus NX-EDG274K (3840x2160@144 DP) + Samsung SyncMaster 906BW (1440x900@60 HDMI-DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay + USB 3.2 (A+C) 3.5" bay
Audio Device(s) Realtek ALC1150, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse Nixeus REVEL-X
Keyboard Tesoro Excalibur
Software Windows 10 Home 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
I'd recommend VB.NET. It is forgiving.


If your .NET application ever has problems because it requires Administrator access, create an application manifest, change requestedExecutionLevel to requireAdministrator, and set the manifest file on the properties page to use that manifest you just created. You may have to make sure the assembly name matches as well (in project properties and in the application manifest).

Doing the above will make it have the shield on the icon and Windows will ask right once it is started if you want to give it administrator rights.
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (2.21/day)
Location
Cheeseland (Wisconsin, USA)
What type of programs are you going to write? If you want to eventually write games or low level utilities you will probably wantto learn C++, If you want to write general apps, you will probably find C# easier and quicker.

You can download the VS express editions and check them out. There are tons of tutorials and reference sites on the webz, and you can of course come here and pick our brains. :toast:
 
Joined
Mar 8, 2006
Messages
498 (0.08/day)
Processor Celeron 430 (Conroe-L)
Motherboard ASUS Rampage Formula
Cooling Water, Zalman Reserator XT
Memory Corsair Dominator PC2-8500 DDR2-1000
Video Card(s) Visiontek 2600 PRO
Storage Maxtor Maxline 3, more Maxtors
Display(s) Acer P243w 24"
Case Aspire X-Navigator ATXA9N-BK
Audio Device(s) Mbox
Power Supply Thermaltake Toughpower 750w
Software Protools and a bunch of racing games...
if you search "hello world" on youtube there is just about an endless supply of tutorials in every language.
 

Clement

New Member
Joined
Feb 11, 2010
Messages
192 (0.04/day)
Location
SouthEast Blue Mountain, Pa
System Name Work Horse
Processor E5200@3.000@1.2 (12.5x240) (Limited by mobo mem volts) ::[Evil Glare]-I'm gonna mod you!::
Motherboard 4COREDUAL-SATA2 R2
Cooling AC Freezer Pro 7; AC Accelero S1 <-These two are bad ass!
Memory (2gb G.Skill F2-8500-CL5D-2GBPK) @ 1.9v/320MHz/3:4/4-4-4-10-16-2T
Video Card(s) X1950GT 621/729 (Will do more)
Storage Seagate 320; 2x1TB WD
Display(s) ViewSonic 19" Widescreen
Case Black, Sturdy.
Audio Device(s) Onboard DAC works great.
Power Supply Enermax EG365P-VE
Software Fedora x64; WinXP32
Benchmark Scores Once, I programmed for a little over 22.5 hours straight.
Hey guys.

I have created some simple batch files that backed up saves for may games...before you ask...lost in external HD incident. :eek:

I am looking into C++ or C so I can create some programs. Do you have an idea where I can learn some basic stuff? I tried googling but I didn't really understand it all that well. Can you help? Links to guides and stuffs?

Cya round!
(and yes...I'm looking at you especially kreij) :laugh:

If you are just starting out, it is worth trying REAL BASIC. Simple code like Visual Basic, but fast executable almost as fast as C++. VERY easy to learn and understand code.

Not to mention, your source code in REAL BASIC compiles directly to Windows/Mac/Linux no modifications. (aside from the rare case you need some IFDEF's, but its MUCH easier in REAL BASIC to do so, can't imagine why, LOL)

Stay away from C++ for your first unless you have A TON of time to invest.

Personally I started with C and assembly, but I was 13 and had all the time in the world.

Avoid anything .Net, its counter intuitive to what a Software engineer should be doing. Not to mention your code is stuck on windows. :eek:
 
Last edited:
Joined
Dec 27, 2007
Messages
8,518 (1.43/day)
Location
Kansas City
System Name The Dove Box Rev 3.0
Processor i7 8700k @ 4.7GHz
Motherboard Asus Maximus X APEX
Cooling Custom water loop
Memory 16GB 3600 MHz DDR4
Video Card(s) 2x MSI 780 Ti's in SLI
Storage 500GB Samsung 850 PCIe SSD, 4TB
Display(s) 27" Asus 144Hz
Case Enermax Fulmo GT
Audio Device(s) ON BOARD FTW
Power Supply Corsair 1200W
Keyboard Logitech G510
Software Win 10 64x
if you search "hello world" on youtube there is just about an endless supply of tutorials in every language.

+1, you can learn just about everything on YouTube. Tons of C++ intro code to get the basics.

Also a free source code compiler I like is Dev C++, good for starters. Lots of Help files as well.

Another idea is to search University's websites to see if you could get past semester's lectures or examples and go at your own pace. MIT has a ton of open courseware I've used for Calculus. KU's C++ lab site is open to the public and you can see what material is cover by lab projects.
 
Top