![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Apr 2009
Posts: 7
OS: xp
|
I want to make sum small program any1 know the basic to make program ??
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,884
OS: Vista, various linux distros
|
Re: Newbie
Depends what you want to write it in. If you just need a little console application then: http://www.cprogramming.com will do you fine =] (The C++ line is the way to go). All you need is a C++ compiler, which the first part of the C++ tutorial will direct you to)
If you'd rather be writing GUI applications quickly then Java is the way to go, you can also write quite neat java console applications. For Java you need the Java virtual machine/runtime environment and JDK ( Java Development Kit, It's the one under Java SE (JDK))... Those are the two most popular (just from experience) languages, you could also try web-languages but for writing apps that's not really worth it. TBH there's loads of languages you could learn. What do you need your program to do? Cheers, Jamey |
|
|
|
|
|
#3 (permalink) |
|
Analyst, Security Team
Join Date: Jan 2009
Posts: 554
OS: N/A
|
Re: Newbie
Hello.
It depends on what type of application you want to make. When I first started programming, I started off with batch files or DOS. Then I got a bit into VBS scripts. After that I did some stuff with Visual basic and finally I recently started learning a bit about C++. Although C++, Java and Visual Basic are some of the popular programming languages out there, it takes time and is difficult without a good book/source. (Please do not get me wrong, saying you should not learn about C++ or VB, they are wonderful languages). They can be very complicated sometimes. If it's a very simple application you are going to write, you might want to consider learning about batch files or VBS scripts. There are many limitations to batch and VBS scripts however. Regards, Extremeboy |
|
|
|
|
|
#5 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,884
OS: Vista, various linux distros
|
Re: Newbie
In the long run C++, But they're both the same language (just ++ has more going on in the long run). Basically both have the same language structure so both are just as easy as one and other.
Cheers, Jamey |
|
|
|
|
|
#7 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,884
OS: Vista, various linux distros
|
Re: Newbie
to an extent. C/C++ programs are not cross-platform, but you can re-compile for different platforms. This is why java is preferred in some situations.
|
|
|
|
|
|
#8 (permalink) |
|
Manager
Join Date: Sep 2004
Location: Colorado
Posts: 988
OS: Mac OS 9.1, Mac OS X 10.5.8, WinXP Pro, FreeBSD 6.0, Gentoo Linux
|
Re: Newbie
C++ is a superset of C. C is a procedural language, while C++ also supports object-oriented programming (which can be very nice). Well written C and C++ code can run on more platforms than any other language I know of. You would need to recompile for each platform, but that's generally not an issue since there are C and C++ compilers for most platforms (I haven't managed to run into the ones that don't).
C++ is easier in some situations. It really depends on the situation. For a graphical program, you would probably prefer writing C++. For embedded systems, operating system development and other things, C seems to be preferred. Any operating system I can think of shouldn't have an issue with C or C++. GCC is widely used (Windows users should look into MinGW, which should be included with Dev-C++).
__________________
![]() Has it been a few days since I replied to your thread? Don't panic! I'm a busy college student and may forget a post if I'm extra busy (or it might just take me a while to be able to do a decent reply). If you still need help and are awaiting my reply after a few days, PM me about it. When posting what errors you get, please give the full message. It makes helping you much easier. |
|
|
|
|
|
#10 (permalink) |
|
Registered User
Join Date: Sep 2008
Location: Upstate SC
Posts: 10
OS: Vista Linux, Server 2003, Server 2008, XP, Ubuntu
|
Re: Newbie
This would be a lot easier if you would tell us the bases of the program. Then we could give a better answer. We would then be able to guide you in the direction you need to go. Instead going down a road of what language is better for what and how, which is where this looks to be headed.
|
|
|
|
|
|
#11 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,884
OS: Vista, various linux distros
|
Re: Newbie
Ruby isn't as pretty compiled. I've used it for little hash-ups but nothing that i want to compile and use again, might as well be using python (imo). Man-O-War hasn't been back in a while. So unless we know what the actual purpose of the program is there's loads of different languages that could be used. No point arguing over them because they all have their strengths and weaknesses.
Snipers right, no point us discussing this without the purpose of the program. Cheers, Jamey |
|
|
|
|
|
#12 (permalink) |
|
Registered User
Join Date: Apr 2009
Posts: 22
OS: Windows XP
|
Re: Newbie
Ok the purpose of the program is security.
My AV does a automatic scan at the same time every day, thing is I'm not at home at that time every day. So what if you could program your computer to turn on automatic long enough for you AV to scan your computer and then it would turn it's self off after. Could this be done ? |
|
|
|
|
|
#13 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,884
OS: Vista, various linux distros
|
Re: Newbie
Not without the computer first being in some way on (hibernating)... Basically it's not worth it, what antivirus are you using? you could set your computer to run the antivirus and then shutdown when you turn it on, and set a condition (timewise) so that it doesn't just do this 24/7...
Then again that's all a bit much. So, why do you run your antivirus once a day? does it actually bring things up once a day? is it worth it? why at one time? etc...? |
|
|
|
|
|
#14 (permalink) |
|
TSF Enthusiast
Join Date: Mar 2009
Location: Portland, OR
Posts: 822
OS: MS-Dos 6.22 - Win7
|
Re: Newbie
If the system is sleeping, not hibernating or powered off, then just set the task to wake the system.
Otherwise you need something to power on the system. (Hibernation is the same as power off, it just "boots" differently). If your BIOS has a Wake on Alarm feature it's pretty easy. Set the alarm in the BIOS for the time you want the PC to turn on then schedule the task to run at system startup. This means it will run at every startup though. You could instead run a batch file to check the time (and date too) and only run the scan if the time matches the alarm time (and only on the days you want). Jerry |
|
|
|
|
|
#15 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,884
OS: Vista, various linux distros
|
Re: Newbie
Defeats the purpose really, having it sleep. But yes, look into your BIOS' wake functions. If you can set them up right then you'll be set. And then all you'd need is a simple language (batch/vbscript) to accomplish this. Again that defeats the purpose of having your antivirus only run at a certain time. So again i have to query why do you need it to act like this?
Cheers, Jamey |
|
|
|
![]() |
| Thread Tools | |
|
|