Beginners programming in VC++

hi all,
  Good day. I am very new to Visual Studio VC++. i have good working knowledge in C & also having average  knowledge in C++. Now i entered into Visual Studio 2005 VC++. And i referring the "IVOR HORTON's beginning
visual c++ 2005".  can you please suggest me to start programming with VC++ and interfacing with hardware like serial port  USB communication with printer, communication with board.. 
Any suggestions or ideas would be extremely helpful!
Thanks & Regards
Sasi

hi all,
  Good day. I am very new to Visual Studio VC++. i have good working knowledge in C & also having average  knowledge in C++. Now i entered into Visual Studio 2005 VC++. And i referring the "IVOR HORTON's beginning
visual c++ 2005".  can you please suggest me to start programming with VC++ and interfacing with hardware like serial port  USB communication with printer, communication with board.. 
Any suggestions or ideas would be extremely helpful!
Thanks & Regards
Sasi
Visual C++ is a product, not a language. It contains compilers for three languages: C, C++ and C++/CLI. Make sure you understand the difference between the last two, and which one you want to use. If you want to use C++/CLI
you will need to use C# documentation for most tasks.
To learn about serial port programming just do a web search for one of
Serial port programming in C
Serial port programming in C++
Serial port programming in C#
David Wilkinson | Visual C++ MVP

Similar Messages

  • Help on Beginners Program

    Hello, I need to write a program where the user can enter an amount borrowed, and interest rate and the number of yrs for mortage. Using TextReader.java i need to calculate the total amount to be reaid, then calculate the monthly payment based on 12 months per yr. and # of yrs of the mortage. My program shows to many errors... can someone please help me with my program?:
    import java.text.*; // For Formatting Numbers
    public class asst8
    public static void main(String args[])
    TextReader tr = new TextReader
    amount = amount * Math.pow(1=rate/12);;
    int monthly = "amount" / 12;
    String amountDouble = tr.readDouble();
    amount = (amountString);
    System.out.println("Please enter amount borrowed:_");
    System.out.println("Please enter interest rate:_");
    System.out.println("Please enter number of years:_");
    System.exit(o);

    well, you define "amount" using "rate", before "rate" has been defined. same with "monthly".
    it should prob say TextReader tr = new TextReader() instead of TextReader tr = new TextReader
    tr is only used to aquire one value, it seems you are asking for three.
    System.out.println("Please enter amount borrowed:_");
    System.out.println("Please enter interest rate:_");
    System.out.println("Please enter number of years:_");these questions should prob be asked before you try to read info from the user. like
    System.out.println("Please enter amount borrowed:_");
    Double amount=tr.readDouble();
    System.out.println("Please enter interest rate:_");
    Double rate=tr.readDouble();
    System.out.println("Please enter number of years:_");
    Double years=tr.readDouble();now do all your math with the values you received and then display
    output. you really need to pay attention to the order in which things
    happen. and read you error messages.

  • Getting my server to return data to the client

    I am writing a client/server program..
    buttons on the client side make the server side do the work, but how do i get the server to return the work back to the client??
    it is a basic beginners program pressing buttons on the client to say cap a word on the server side... have the buttons working but dont know how to returned the capped word back to the client. the code is really long and there are two programs, but i can put them up if necessary.
    tks

    what technology are you useing for the client and server? client: swing, jsp, applet, applicaiton? server: servlet, http, rmi...? Kind of need to know what you're doing before we can help.

  • Best Internal Hard Drive Update for Macbook Pro 13" early 2011?

    Hey everyone,
    I was just wondering if anyone could give me their opinon as to what might be the best hard drive to update on for a Macbook Pro 13" early 2011 model. My budget is about $100, and i'm looking to increase the size of my current hard drive (which is a 320gb hard drive). I know that SSD are out of my budget range as anything even reasonably priced only gives me about 200+ gb of memory. I'm wondering if anyone has had any particular experience with the Seagate 1TB solid state hybrid drive (found here: http://www.amazon.com/Seagate-Solid-Hybrid-2-5-Inch-ST1000LM014/dp/B00B99JUBQ). It boasts SSD-like speeds at a fraction of the cost, and its right around my budget, but perhaps its too good to be true? I saw the other thread about this hard drive question, but it didn't seem like anyone had any personal experience with it.
    Anyways, just wondering if this one here is a truly a good deal, or if anyone has any better suggestions? Thanks in advance!!!
    ********P.S. Just as a side note, I'm wanting to increase the storage on my computer because i'm wanting to use bootcamp to install windows, and I want an ample amount of space to store movies, games, pictures and music. Not sure if this is even relevant, but i'm wanting to start doing a little bit of beginners programming stuff, so i want to make sure that i'll have enough empty space on my hard drive to do whatever it is i need to do. As it is, I've got about 62gb in movies, 81gb in photos, 41gb in music and 14gb in apps.....I'm really pushing the limits of my storage......*****************

    rchu89 wrote:
    I'm wondering if anyone has had any particular experience with the Seagate 1TB solid state hybrid drive (found here: http://www.amazon.com/Seagate-Solid-Hybrid-2-5-Inch-ST1000LM014/dp/B00B99JUBQ). It boasts SSD-like speeds at a fraction of the cost, and its right around my budget, but perhaps its too good to be true?
    I have two of those Seagate SSHDs, using one as the internal drive in my primary MBP.  Boot and shutoff times are dramatically less than before (using 7200 rpm HGST HDDs).  In other respects, I have no complaints regarding the drive performance.  I can recommend them based on my limited experience (~3 months).  The $99 price does look very attractive.
    Note that when you install a HDD of larger capacity in a MBP, it should be reflected in your backup strategy.  Do you have a backup drive to accommodate the additional data that you will be able to store on the new internal HDD?
    Ciao.

  • Infopath customization in sharePoint

    Hi All,
    Can any one help me to do infopath customization in sharePoint?
    Thanks in advance!

    Hi,
    You can use
    Visual Studio Tools for Applications (VSTA) to write code for InfoPath forms.
    Here are some links about this:
    http://blogs.msdn.com/b/infopath/archive/2010/03/18/introduction-to-programming-in-infopath-2010.aspx
    http://blogs.msdn.com/b/uksharepoint/archive/2009/02/03/top-tips-for-infopath-form-development-with-sharepoint-part-1.aspx
    http://www.bizsupportonline.net/blog/2009/09/beginners-programming-infopath-browser-forms-sharepoint/
    http://www.youtube.com/watch?v=bFdPkTdgpe0
    Best regards
    Patrick Liang
    TechNet Community Support

  • Programming environment for beginners?

    Hi,
    Years ago I wrote some very simple applications for personal use, using Future Basic.  It was a great environment for somebody with very little programming experience because much of the GUI was handled in a very easy fashion.  Basically you set up your windows and controls in a graphic interface and it then generated a shell with the necessary code to implement what you had created.  You didn't really need to know how code the GUI because that was handled for you, allowing you to just work on the meat of the program.  For someone who only occasionally writes anything, and simple stuff at that, it was a great environment. 
    Now I'm looking to do the same sort of thing, write a couple simple apps for personal use and I'd like to find something similar.  Is there anything on the market that will let a very unknowledgeable programmer like myself quickly throw together an interface like that?
    Thanks,
    Mark

    Does anybody know any site that provides programming
    problems in order for beginners to practice JAVA.
    I may get shot for saying this, but I just finished a VB.NET class and the textbook was Starting Out With Visual Basic .NET, by Tony Gaddis
    This is hands down, the best learning book I've ever read. The problems at the end of each chapter are challenging and realistic. Granted, many of the problems are GUI oriented, because it is a VB book, however, I have since tried many of the problems using Java and found them good for refining my Java coding more than my VB coding. A problem is a problem.. many languages can solve the same problem.. just some faster and more efficient than others.
    Other than that... the Deitel & Deitel, Java: How to Program was a good book also.
    Hope that helps.

  • Book: LabWindows/CVI Programming for Beginners

    Has anyone read the followong book LabWindows/CVI Programming for Beginners LabWby Shahid F. Khalid ?
    This book in not in print anymore and  inpossible to find.
    Does anyone know of any similar source material?
    I have both LabWindows/CVI Basics I&II but the content is extremely limited and not enogh details.
    Does NI offer anything better than the embedded Help?
    A Programmers Reference would be nice.
    Thanks.

    Hello NI Nubie,
    I have that book, and also its "advanced" sequel by the same author.  They both went out of print a long time ago.  The books are OK, but they are only available on the secondary market for ridiculous prices now, and that is assuming that you can even find them.
    If I could pass on some advice that might be more helpful to you in learning CVI: pretend those books do not exist for now.  Instead, I think that for learning CVI, there is nothing better than looking at other people's CVI project-level code and really understanding it, inside and out, and then making your own modifications to it to enforce what you just learned from it.  There are several places to start looking for project-level CVI code, which I will list in (what I think) are the highest-to-lowest priority of your training.
    The first place I recommend is the examples that ship with CVI (located in the "samples" directory under the CVI installation directory).  I say this because these are supported by the NI developers and support crew.  In fact, back in 1995 when I was learning CVI 3.1, I dove into the "Icon Editor" application, for several reasons: it was a *complete* application (as opposed to the other, mostly point-solution "academic" examples under the samples directory), it showed how to segment your code into multiple source and header files, and it showed many advanced user interface features (menus, cut-and-paste).  There is now an "example finder" to help locate examples that "fit" to what you are currently trying to accomplish.  I also use the freeware "grep-like" tool called "Agent Ransack" (URL is below) to hunt down specific CVI functions and identifiers (such as certain EVENTS and how these examples use them).
    Agent Ransack on MythicSoft.com
    The second place I recommend is the other "support" locations on the NI web site.  There are knowledgebase articles, tutorials, submitted examples, community examples, and also extra "academic" examples from NI engineers that aren't the same as the ones that ship with CVI.  There are also whitepapers scattered in there as well, and a few that have hidden sample code that is embedded at the bottom of the article.  You really have to hunt for this stuff, and it would be great if the NI folks could try to index this a bit better somehow.  I sometimes even resort to using Google's search engine to find them on the NI web site, because the NI search engine may not find them.
    The third place I recommend are user-based web sites created by power-users of CVI who like to share their code.  Two that I found long ago that remain at the top of the list (in my opinion).  One is Guillaume Dargaud's site, where he has lots of CVI examples and freeware.  The other is Philippe Baucour's "Rebel" CVI site (but you will need to use an online translator if you don't speak French, though).
    Guillaume Dargaud's web site (drill down for CVI examples and freeware)
    Philippe Baucour's "Rebel" CVI web site
    Finally, you might find it interesting to know that there is a tremendous repository of C source code scattered all around the Internet, mostly as part of free and open-source software projects, many of which are supported on sites such as SourceForge.net, and many other locations.  Many of these places are filled with people (in forums or mailing list servers) who live in the C programming world on a full-time basis, and can help you through some of the advanced techniques.  Some of these projects might be targeted to Windows, some use cross-platform techniques, so they have a chance of being applied to your CVI efforts.  There is also an entire universe of programming "libraries" and capabilities that you can use to augment your CVI projects as well.  All of this because of the open-source revolution, riding on the back of GNU/Linux and the community and corporate entities that are backing it all.  Examples that come to mind are Cygwin and MinGW.  If you only have the time to just look up these two items on Wikipedia, you will see that this is just the tip of the iceberg of the possibilities that are available to you as a C and CVI programmer on Windows.
    I hope this was helpful to you.
    JB
    To whom it may concern: My alias is also my nickname, I've had it since I was a (very) skinny basketball-playing teen. OK, so I've got a 38 inch waist now, but my hometown friends haven't shaken that appellation for me. I trust that you will someday be OK with that alias, as I have been with that nickname.

  • Fun programs for beginners.

    Can you guys give me some fun programs to write for a beginner? Hmm, I consider a small game like Minesweeper to be fun. Note that, I am not into mulithreading yet.

    elasolova,
    You could do a lot worse than your own idea, minesweeper... though frankly it wouldn't surprise me if you gave up before you got something playable... laying-out a playable minefield is actually rather tricky, mine placement isn't random coz that just produces a succession of unplayable boards.
    I think (for starters) that a card game like Black Jack (called 21 in some countries) might be more achievable.
    The beauty of a fundamentally simple problem like Black Jack is that you get can something going quickly and then embelish upon it in achievable increments... I expect that a (reasonably intelligent) noobie would have a simple command line version working in under a day, then each of the following enhancements might take a day or two...
    version 2 might be a simple GUI in swing.
    then you might add some sounds.
    then you might do some simple animations to show the cards moving.
    Version 3 might present that GUI as an Applet.
    the you might allow two players to play over the net.
    the you might add chat capabilities.
    I expect the animation and the networking might take a few days each.
    ... and by the end of the process you've learned a LOT of java, and what started out as "a simple Black Jack game" has moved into the realms of commercial-grade software, and has become something that you can add to your website as evidence of your ability to create GUI's in Java.
    And then maybe you might like to follow it up with something with "a few smarts behind it" like Hearts, or Poker.
    Your applets will be beating Kasparov by the end of next year.

  • I want to start objective-c programming and app development. Any pointers as to what affordable hardware and software is good enough for absolute beginners?

    I'm interested in learning objective c programming and iOS software programming. I want to get an affordable macbook for that purpose. any advice on the hardware specs and software tools to get me started? I also like to do the general tasks on the device....

    If you're new to iPhone development, then you should definitely read this first:
    My First iPhone App, a Programming Tutorial.
    In a nutshell if you want to develop for the iPhone:
    You need a Mac Computer of some kind, Mac Mini, iMac, MacBook etc. You cannot develop for the App Store on a Windows or Linux PC.
    Join the Free iPhone Developers Program. This gives access to the SDK and Xcode development system which you download and install. It includes an emulator so you can test most apps except those which need hardware such as the camera or GPS.
    Pay $99 a year for access to the developer program. This lets you install apps on your own iPhone/iPod Touch/iPad. It also gives earlier access to betas and past versions of the SDK.
    Development Process
    So you've been developing away and have got a version that runs in the emulator. Next you've paid your $99 and been accepted in the developer's program. This means you can now try your app out on your iPhone. Here is an overview of how you do that. Apple's developer website provides a lot more detail.

  • Sequential programming for beginners

    We are trying to write some software that will operate several LED's and detectors in sequential mode.
    The program that we are trying to write goes like
    this:
    1 switch on detector on red channel
    2 20ms later, switch on red LED
    3 measure data from detector for 2ms
    4 save data to file
    5 switch off red LED
    6 repeat steps 1 to 5 but now using green LED
    7 repeat steps 1 to 5 but now using blue LED
    We have been trying with LabView 7 but haven't found the way to run such a sequential program.
    We would need some example .vi program that could help us to see how to get our program done, or some suggestions of which commands/icons in LabView we
    should use to do this.
    Thanks a lot.

    Hi,
    a sequential structure can easily be done in LabVIEW using subvis and LabVIEW dataflow. However another way is to use the flat sequence structure from the structure pallette.
    If you are looking for more flexibility, state machines are a common design pattern for problems like yours. Below you can find information about using statemachines:
    Application Design Patterns: State Machines
    http://zone.ni.com/devzone/conceptd.nsf/webmain/C74CEC177A289DBD86256C4E00600196?opendocument
    There is also a template in LV7 which you can use for a start.(New -> vi templates -> Design Patterns -> State machine)
    Let me know if this helps.
    Regards
    Stephan A.
    National Instruments

  • Adobe cs6: extracting files, installer detects issues. Using Photoshop, the program crashes quickly.

    I'm in the process of downloading Adobe cs6, and when I extract the downloaded files, installer detects a machine restart is pending, but even after restarting the computer, and retrying to extract the files the issue persists. So I tried ignoring the problem, (as that is one of the options) and completing the download, but then when I go ahead and use Photoshop, I only get to use it for less than 20 seconds and the program completely shuts down. I have no clue how to fix this problem.
    I've tried unistalling Adobe cs6 and reistalling it multiple times, but no luck.
    I've also downloaded the update published by adobe today (11/26/2012) but i still have this problem.
    I don't know how to solve this issue, doesn anyone have any suggestions as how to fix it?
    i'm using windows 7, and AMD Professional firepro graphics card
    Thanks Stef

    Hi Stef. You’ve posted your question in a forum that is for beginners trying to learn the basics of Photoshop.  I'm moving your question to the Downloading, Installing, Setting Up forum for specialized attention to your situation.

  • Why do I get a program error when changing colors?

    I get a 'Could not complete your request because of a program error' when I try to change colors on both the forground/background palette or from the color picker palette.  Is there a patch for this?
    I am using Photoshop CS6 version 13.0.1.x64

    Hi. Because this forum is for beginners trying to learn the basics of Photoshop, I'm moving your question to the Photoshop General Discussion forum.

  • KeyListener..for beginners..please help me

    hi, im new to java..i think that this thing is simple to you guys..im trying to make a program where there is a ball bouncing around the screen..theres 3 walls one on the left one on the right and the other on top..there should be a moving catcher at the bottom..which should be controlled by the keyboard..
    i already made the catcher..my only problem is..i dont know how to make it move..
    by the way..i'm using threading..
    it would be nice if you can post even a simple example of threading with keylistener even just left and right so i would know how to apply it..
    i hope that someone there would help beginners like me, it would really be a big help..
    thank you very much!
    -dennis

    Hi Madhuama, I'll try to give you a hand with this. First off, what OS is running on your notebook, what game are you attempting to play, and how is it not working? Is it not installing?
    Thanks,
    Fenian Frank
    I work on behalf of HP

  • Does anyone know if apple's one-to-one program would be a good way to learn how to use logic pro or am I better off going to school to learn audio engineering or something?

    Of course going to school would be a good option, but I want to know if one-to-one is also a good way to learn how to use logic pro. Has anyone been through the one-to-one program for logic pro and can say that they learned how to use logic pro well because of it?

    For sure, one to one training, if given by a tutor who is capable, will hand you the means to build up self-confidence  and will therefore let you operate the hard/software in an intelligent manner, instead of going for the trial and error method which has its pro's and con's too. Once you've passed this beginners phase you will make your own decisions intelligently and then you will also start to get experience and learn even from your mistakes. Something like that in theory and the rest is up to you!
    Have a nice day

  • A JAVA PROGRAM TO CONTROL SYSTEM EVENTS OF WIDOWS XP

    Hello everyone.
    The question is: can I develop a java program that can control system events of a windows environment? For example a program to shut down the computer, log off or open and close windows applications?
    If so, how can i do that??
    please help me. Your help is appreciated in advance.
    thanks.
    Wakariuki

    Hi,
    If you want to make native calls, you can use JNI (Java Native Interface).
    Using JNI, you call call any C/C++ funtions.
    Please visit, http://java.sun.com/docs/books/jni/ for JNI structure. To program using JNI, read the book given in the link. It is very useful for beginners.

Maybe you are looking for

  • To get recent timestamp records from internal table

    hi all,   i have one requirment   i'm storing error messages in one table  while creating a sales order basing on timestamp   which is of this format yyyy-mm-dd hh:mm:ss (random Number)    if i want to see the error messages left i'm getting all the

  • FCP4 project slow to open - due to Motion 4?

    My FCP7 project takes a very long time to open up (compared to others that do not possess any Motion4 interaction such as the stuff detailed below). My project takes about 10 minutes to finally open up completely where others (such as wedding videos

  • HT204400 Issues with Apple TV

    My Apple TV won't connect to iTunes tonight.  Is there a problem with iTunes in Australia?

  • 24" screen resolution?

    I looked at Apple's "full" specs for the new 24" iMac and it doesn't give the display resolution... Anyone know it?

  • CS5 - Live Caption with Custom XMP Metadata?

    (I USE CS5 on WINDOWS 7) I currently have a custom panel (witch custom namespace) up and running, and have many of my photos correctly tagged. For this example, I opened a new Indesign document, placed a previously tagged JPEG Then I right-click the