zak92
Jan 10 2007, 01:29 PM
| | Hi i just had a stupid question on how to program is C or C++. I would like to know if there is any program like Photoshop to create C codes or how to put them together. If someone could show me it would be great. I appreciate it as i love computers and want to be like a wiz at it and also everything related to it. I know that this is crazy and i have heard that from people they tell me you're a GFX person stay there but i want to explore. Thanks if helped. |
Comment/Reply (w/o sign-up)
salamangkero
Jan 10 2007, 04:31 PM
Uhm, I don't think there are any good programs where you can just point-and-click or drag-and-drop that produces good C code. If you're working on MS Windows, you can download TurboC, which is small in size, and do your own codes. If you're using Linux or Unix, I think they already have gcc installed. Anyway, I hope you know this but just in case... You don't create C code with any special program. Any text editor, like notepad, wordpad, gedit or kwrite can be used to code C code. Just save the files in .c format, not .txt. Now, what you need the software for (tcc or gcc) is in compiling your program. It's your way of saying, "Okay, I've finished coding (for now). Go turn this C code into machine code." If all goes well, you will end up with an executable file. For C++, on the other hand, I'm not sure 'coz I've never used it before. However, I think MS Visual Studio does have C++, right? Guys? Anyone? Anyway, best of luck in your endeavors 
Comment/Reply (w/o sign-up)
zak92
Jan 10 2007, 05:17 PM
C++ (pronounced "see plus plus", IPA: /siː plʌs plʌs/) is a general-purpose, high-level programming language with low-level facilities. It is a statically typed free-form multi-paradigm language, supporting procedural programming, data abstraction, object-oriented programming, and generic programming. Since the 1990s, C++ has been one of the most popular commercial programming languages. Bjarne Stroustrup developed C++ (originally named "C with Classes") in 1983 at Bell Labs as an enhancement to the C programming language. Enhancements started with the addition of classes, followed by, among other features, virtual functions, operator overloading, multiple inheritance, templates, and exception handling. The C++ programming language standard was ratified in 1998 as ISO/IEC 14882:1998, the current version of which is the 2003 version, ISO/IEC 14882:2003. A new version of the standard (known informally as C++0x) is being developed.
Comment/Reply (w/o sign-up)
osknockout
Jan 10 2007, 10:43 PM
Nah, you don't have to limit development like that. You can use Notepad for just about anything. Notepad's just usually used for writing or editing source code really fast. Although people tend to to use programs like Dev C++ so that the code is highlighted.
Comment/Reply (w/o sign-up)
Yacoby
Jan 10 2007, 10:59 PM
QUOTE(salamangkero @ Jan 10 2007, 04:31 PM)  For C++, on the other hand, I'm not sure 'coz I've never used it before. However, I think MS Visual Studio does have C++, right? Guys? Anyone?
Yeh, Microsoft have a C++ compiler. I think they offer their "Visual C++" as an express edition, which is free. FYI the file extension for C++ is .cpp QUOTE Yes that helps i did think it was that but what confused me is that isnt notepad supposed to be for like Web development more that software development.
I don't understand why anyone would want to use notepad for anything more than... well, why they would want to use it for anything at all. If you are going to do any programing at all, at least grab yourself a text editor with syntax highlighting. Makes everything much easier to read. I use Borland's free compiler for my C++ stuff (It compiles C code as well), as it hasn't failed me yet. You may be better with Microsoft Visual C++ if you want to do some programs with a GUI (Graphics user interface), as setting out a GUI in a text editor is not fun.
Comment/Reply (w/o sign-up)
fffanatics
Jan 11 2007, 03:03 PM
Notepad is just a text editor. This means it can do anything you want it to do that only involves text being entered into its window without any special formatting. For programming in c or c++ get Visual Studio express because it does have some tools to help with a gui and you also can add the Windows SDK to the help menu along with directx sdk, etc. This will allow it to autocomplete and give you options as to what functions are available through a class and what properties any structure or class contains. Since you really just use c++ for programming which is not a visual aspect there isnt a dreamweaver for c++ kinda thing but like i stated visual studio has tools that work for creating a gui since that is a visual aspect that is written in c++ and can be done with dragging and dropping.
Comment/Reply (w/o sign-up)
osknockout
Jan 14 2007, 12:08 AM
QUOTE Notepad is just a text editor. This means it can do anything you want it to do that only involves text being entered into its window without any special formatting. For programming in c or c++ get Visual Studio express because it does have some tools to help with a gui and you also can add the Windows SDK to the help menu along with directx sdk, etc. This will allow it to autocomplete and give you options as to what functions are available through a class and what properties any structure or class contains. Hmm... I'd say stick with Dev-C++ if you don't have any money or are one of those GPL hardcore people. And it does have downloadable modules for OpenGL and etc. -I don't want to start a compiler war, I'm just saying, you have a lot of options. QUOTE there isnt a dreamweaver for c++ kinda thing Yeah, that is true. But it wouldn't be that hard to start one -assuming one can agree on the level of complexity. E.g. check out Quexal That's a gui interface for SSE/SSE2 instructions for assembly. If you can do that for assembly, making some specialized GUI for C/C++ shouldn't be that hard.
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : c, c, easy, programming, generator, program
- I Want To Learn Programming
(7)
New Issues On C++
Simple Program Issues (5) Hi again~!! I have just modified my other version of my mean, median, mode, etc. program. I am
receiving no compiling errors but errors when I am running the program. CODE #include using
namespace std; int main() { double num , avg, min_val, max_val, range, median, temp; int i,
j, n, count = 0; char s; cout cin >> n; for ( i = 0; i cout
cin >> num ; } cout for ( i = 0; i for ( j += i; j
if ( num > num ) { temp = num ; num = num ; ....
A Program I Am Creating
average, min, max, (mode), range, (median) (8) Hi, I am new to C++ and I tried creating a program but it didn't turn out so well..... Before I
explain my problems, I will show you the program: CODE #include using namespace std; int
main() { double num , min_val, max_val, avg, range; int i; char ch; do {
cout cin >> num ; } while ( num != 'e' ); for ( i = 0;;
i++) { avg = 0; avg += num ; } avg /= i; cout i = 0;
min_val = max_val = i; for ( i = 0; num ; i++) { if (min_val > num ) min_val = num ;....
Finding The Rgb Color Of An Image
Using any programming language (6) hello friends i am doing a project , in that i am inneed to fine the mean RGB value of a particular
image , is there any program in any language which can do this ? the input to the program will be
any image ( can be linked in the program) and the putput must be the mean RGB value of that
particular image , is this Possible ? If so please post the Coding , no matter in what ever language
it may be written.Thanks in Advance....
If/else Demo Program Bug
if/else demo program bug (4) CODE /* Demonstrates the use of if statement with else clause */ #include int x, y; int
main() { /* Input the two values to be tested */ printf("\nInput an integer value
for x: "); scanf("%d", &x); printf("\nInput an integer value for y: ");
scanf("%d", &y); /* Test values and print result */ if (x == y)
printf("x is equal to y\n"); else if (x > y) printf("x is
greater than y\n"); return 0; } The above source code comes from the Sams Teach Yourself
C in 21 D....
Any Program Ideas?!
(5) Please help me find a program idea! I'm anxious to write a program, but I'm out of app
ideas! I'm a beginner, and I have a basic knowledge of the following: The basic statements.
System.Windows.Forms Creating classes. Creating methods, properties and variables. Data types:
int, string, bool, double, enum, float. SQL and databases. Any ideas?! /unsure.gif"
style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" />....
Why Must We Learn Object Oriented Programming
help me to understand the benefit of OOP (8) As a software laboratory assistant, I teach the class of Object Oriented Programming. Everything
went well until one day a student of mine ask me a simple problem like this Q/A: him : Why must we
use Object oriented Programming? I thought the usual one could do almost everything. me : Well, in
Object Oriented Programming we could make a class, so basically eveything could be made to an
'object' in our mind. him : That's why I'm asking, why must we made everything an
object? What's the difference? me : In Object Oriented Programming, Encapsulation ....
Alright, I'm Taking Computer Programming As A Class In School.
(10) Is there anything I should personally be worried about or anything I really need to know? I'm
pretty much good with computers and such and pretty much spend my whole life on them, lol.....
How To Run A Process Through Your Program (c#)
(0) Made by Blackbelt012 OK to start add a button or a menu strip to your form.
----------------------------------- Then double click the button you just added and it will take you
to the code of your application. ----------------------------------- Next scroll to the very top of
your form and add this code. CODE using System.Diagnostics;
----------------------------------- Then scroll back down to the button you double clicked.
----------------------------------- After that add this code. CODE Process.Start(@"C:\Program
Files\Mozilla Firefox\firefox"); ....
Discussion On Dynamic Programming
(3) Dynamic Programming is one of the powerful programming approach now a day. DP applicable when sub
problems share sub sub problems. (No independent sub problems). Solve each sub problem once, save
the answer, and when needed use the previously computed result. Like for Fibonacci series. To get
f(n+1) we need addition of f(n), f(n-1) and for f(n) we need f(n-1), f(n-2). so to get f(n+1) we
need f(n) and f(n-1) and again for f(n) we need f(n-1) and f(n-2). In this approach we are
calculating same thing more then once . That is a very bad idea. But what if we store the data....
A Crazy Program In C
Dont know how it works (13) Its a code iam sharing i found while reading about c, its a code from a winner of world most
obsfucated code contest just have a look the output of the program is after the code CODE
#include main(t,_,a) char *a; {return!0 main(-86, 0, a+1 )+a)):1,t )&&t == 2 ?_
t,"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+\
,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l
q#'+d'K#!/\
+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;#
){n\ l]!/n{n#'; r{#w&....
C Programming Video Tutorials
This is for all the memebers out there looking or need some mroe help (3) Hello per this is for the memeber that want to start programming in " C "... C is a
very powerful Programming Lang In fact mayb to powerful.. Well there is 138 Videos in the
TUT.. I Have uploaded the it so per .rar is per chapter /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> P@ssword for ALL .rar files
is : sid3arm chapter #1 = Introduction to C ** Download link ** chapter #2 = A
basic C program ** Download link ** chapter #3 = Basic Elements of a C Program **
Download link ....
Centering The Text In A Simple C++ Program?
(8) I'm currently learning C++ in college. For now it's very basic stuff (cout, cin, if, switch,
voids, etc). But I'm also abit of a "must look neat" freak for certain things. One of which is
that I don't like the text on the program being aligned to the right. For example, I currently
have something like this: QUOTE Welcome! Please enter your first name. __ And what's your
second name? __ But I want it to be like this: QUOTE Welcome! Please enter your first
name. __ And what's your second name? __ My question is simply: how wou....
How Many of You Use the C Programming language?
(23) Just wanted to know how many of you are currently using C language for programming. If you can tell
what sort of programs you do, it would be useful. ....
C Programming: Arrays
A Clear Description of Arrays (4) C programming provides a capability that enables a user to design a set of similar data types,
called Arrays. For understanding the arrays properly, let us consider the following program CODE
main() { int x; j=5 j=10; printf("\nj= %d",x); } No doubt, this program will print the value
of j as 10. This is because when a value 10 is assigned to j, the earlier value of j, i.e. 5, is
lost. Thus, ordinary variables are capable of holding only one value at a time. However, there are
situations in which we would want to store more than one value at a time in a single ....
Beginners Guide To C/c++ Programming?
(3) ok so I was wondering if anyone knows where I can find a good, c/c++ dummy friendly guide? my main
reason for want to learn it so that I can make .cab files that do registry edits for ppc. I know
this should be easy to do, Any help would be greatly appreciated. Thx in advanced, Mike....
Detailed C Beginner Tut
basis for learning any application programming language (2) QUOTE The best way to learn programming is to dive right in and start writing real programs.
This way, concepts which would otherwise seem abstract make sense, and the positive feedback you get
from getting even a small program to work gives you a great incentive to improve it or write the
next one. Diving in with ``real'' programs right away has another advantage, if only
pragmatic: if you're using a conventional compiler, you can't run a fragment of a program
and see what it does; nothing will run until you have a complete (if tiny or trivial) prog....
Source Code For Paint Like Program Under Dos In C
(2) this is a dos program that you have been waiting for you learn from it you how to do graphic
programing under dos if you understand it your then will be able to do any kind of windows GUI in
dos it make icons and use them it deal with graphic file youwill also learn how to use mouse have
nice time ....
My First C++ Program
very basic (6) Okay, well today I've started learning C++ and after about 30 minutes I've managed to
compile my first program /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
alt="smile.gif" /> All it does is prompt you to type a number in between 1 and 10. If it's not
in that range, it adds/subtracts until it is. The best part is you get to see it add/subtract the
numbers up one-by-one! Code: #include using namespace std; int main() {
// Define variables int anumber; cout cin>> anumber; cin.ignore(); ....
Executing An Exe From Within A Program!
Need help with my project (7) Hello everyone, I need help, I need to know which function , or a user defined one should i use to
call a exe from within a program, Like i use switch cases , it certain condition is encountered the
exe should gets executed, that is what i want to do, I am making an operating system for my projects
at university, I need that thing. So somebody please help me, This is the forum that lets me find
all my solutions. I have a 100% problem solution rate here, everyone has helped me alot, Waiting for
some one to post a reply.....
Win32: Dialog Box And Accelerator
Win32 API programming (3) ok my problem is how do i make or assign a keyboard accelerator with modal dialog boxes since the
message loop is inside the function call of DailogBox() functions, unlike the modeless dialog box in
which you are the one who will create the message loop for the dialog box... is it even possible?....
Need Help With C Program To Test If A Number Is Prime
Ending unexpectedly somewhere near for-loop (16) CODE #include main() { printf("Enter a number: "); int n;
scanf("%d", &n); if(n == 2) printf("%d is prime", n); else if(n
% 2 == 0 || n printf("%d is not prime", n); else { int x;
for(x = 0; x if(n % x == 0) {
printf("%d is not prime", n); return; } printf("%d
is prime", n); } } If n is 2, less than 2, or a multiple of 2, then the program runs fine.
Other....
Vesa Programming Viewer In D O S
Graphics in C/C++ (3) Hello friends, I wanna make an image viewer in DOS...can any one help me how to deal with high
resolution screens in DOS uning mouse using VESA interrupts. Please help.. thanks acumentech....
Life In Programming?
wheres this headed? (12) Hey guys im 16 and really like programming (although im fairly new at it) ive already taken a year
of basic html and what not. This year im taking a class in c++ and VB next year i hope to take java
and php. However next year will be my senior year and i will have to start applying for colleges
and im trying to convince my parents that there ARE jobs in computers its hard for them to do this
they like to stay locked up in there own little world **cough cough** stone age **cough** so what i
was wondering is what jobs are actually out there for this kinda stuff what are ....
Good Books On C++ Game Programming
I need some books! (5) I am looking for some good books on game programming in c++ if any body out there has any
suggestions feel free to post them. Oh by the way should i start out with an easier language like
BASIC or should I just work on c++. Ineed some help people please reply fast. Tahnx
David H /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> ....
D Programming Language
(9) hi friends, surprised... was that a type???? It is not a type... I know this is a C/C++
programming language forum.. Just wanted to share something I came across today... A new
programming language based on C and C++ is being developed.. It would have all the power of C/C++,
in other words as the spec says "retains the ability to write high performance code and interface
directly with the operating system API's and with hardware." The specification of the language
and alpha phase compilers are available at www.digitalmars.com I just browsed throught the spec a....
Crazy Looking C Program
Interesting (19) hi friends, Have a look at the following code... Can u guess what this wud do... nope... no virus
nor executable code... It is a completely valid and compilable C program... dont worry.. I have
executed it on my system and it perfectly nice program /smile.gif' border='0'
style='vertical-align:middle' alt='smile.gif' /> CODE #include main(t,_,a) char *a;
{return!0 main(-86, 0, a+1 )+a)):1,t )&&t == 2 ?_
t,"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+\
,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#....
A Question About C++ Programming Under Linux
(8) Hello guys! i prepare to develop under linux using c++, but i don't know what tools i should
use...some one tell me to use vim, but i think vim is so hard to use!can u recommend me some ide???
thank u very much....
Simple C++ Programs
programming C++ (16) what simple programs would a beginner should code in order to get some understanding the c++ along
with leaning as well....
C Programming Help
(4) Hey, does anyone know of any good direct sites that would help me in some scripting of c programming
or maybe even a tutrorial that would help with some advanced scripting. Thanks.....
Looking for c, c, easy, programming, generator, program
|
Searching Video's for c, c, easy, programming, generator, program
See Also,
|
advertisement
|
|