Don't ad-block us - support your favorite websites. We have safe, unobstrusive, robotics related ads that you actually want to see - see here for more.
0 Members and 1 Guest are viewing this topic.
there is also a brain barrier with C , id say 1 in 10 human beings could be fruitfull with there efforts in C Id say 9 out of 10 people including your grandma could be fruitfull with a simple version of basic.you need a certian kind of brain to get something out of C , so its not just the 18 months investment to crack it, for 9 out of 10 people they will crack first.
Id say the3 barriers are [] 18month investment before usefull return vs 18 days with a simple basic (imediate feedback is encouring wth basic)[]You got to have the right kind of brain to be fruitfull. This barrier can never be overcome[]The nonintuitve IDE is a killer if you are trying to teach yourself, your reverse engieering unknowns and illogical happenings. This barrier is removed if you did it at college.
Adds text to current dislay line while person is typing and increasesthe cursor position#include<dos.h>void interrupt our();void interrupt (*prev)();void writechar(char ch,int row,int col,int attr);int a,b,kp,run=0;char far *scr;void main(){scr=(char far*) 0xb8000000;prev=getvect(9);setvect(9,our);keep(0,500);}void interrupt our(){kp++;if(kp==5){run++;_AH=3;_BH=0;geninterrupt(0x10);a=_DH;b=_DL;if(run==1)writechar('M',a,b,7);if(run==2)writechar('S',a,b,7);if(run==3){writechar('P',a,b,7);run=0;}b++;_AH=2;_BH=0;_DH=a;_DL=b;geninterrupt(0x10);kp=0;}(*prev)();}void writechar(char ch,int row,int col,int attr){*(scr+row*160+col*2)=ch;*(scr+row*160+col*2+1)=attr;}10 rem This is a basic program20 screen 730 cls40 print " hello"50 input "type a word"; a$60 print a$70 for I = 1 to 100 step 280 print "odd numbers", I90 Next I100 input " press enter to run again" anykey$110 if anykey$="s" then end else goto 30no comparison if you ask me
#include <stdio.h>#define LINE_MAX 100void main(void) { char key; do { char line[LINE_MAX]; printf("hello\n"); printf("type a word: "); gets(line); printf("%s\n", line); for(int i = 1; i<100; i+=2) { printf("odd number %d\n", i); } printf("press any key to run again\n"); key = (char) getc(stdin); } while(key != 's');}
The bottom line is NO ONE LEARNS C UNLESS THEY GOT A DAMN GOOD REASON, but lots of peeps will play with basic outa curiosity.
for number in range(10): if thingyouwanttobe: effect = 1
QuestionWhat version of C and IDE would you recommend for a cautious beginner to programming What version of C and IDE would you recommend for a an intermediate basic programmer looking to join the modern world
you need a certain kind of brain to get something out of C , so its not just the 18 months investment to crack it, for 9 out of 10 people it is they that will crack first.
Id say the 3 barriers to C are [] 18month investment before usefull return vs 18 days with a simple basic (imediate feedback is encouraging wth basic)
[]You got to have the right kind of brain to be fruitfull. This barrier can never be overcome
[]The nonintuitve IDE is a killer if you are trying to teach yourself, your reverse engieering unknowns and illogical happenings. This barrier is removed if you did it at college.[/color]
im going to add a fourth, prior to 1980 there where no computers anywhere on the planet !! outside of a lab, anyone one born after 1980 was born in to a world of computers.
im going to add a fifth there was no digital technology anywhere in the world in 1960, the word digital did not exist
The first digital computerShort for Atanasoff-Berry Computer, the ABC started being developed by Professor John Vincent Atanasoff and graduate student Cliff Berry in 1937 and continued to be developed until 1942 at the Iowa State College (now Iowa State University).
im going to add a 6th widespread use of computers and the internet did not happen untill 2000[/color]
all this adds up to a background computer knowledge defecit for any one over the age of 30, thats half the world population. This means anyone over the age of 30 is gonna find learning C much harder than anyone under the age of 30.
The thing I hate most of all are case sensitive languages! Seriously, I'm never going to have the need to differentiate between Variable1 and variable1.
QuoteThe thing I hate most of all are case sensitive languages! Seriously, I'm never going to have the need to differentiate between Variable1 and variable1.Most C compilers have a switch to turn off 'case sensitive' if you really don't need or want it.
#include <stdio.h>main(){printf("Hello, world!\n");return 0;}