jimblumberg's Profile User Rating: *****

Reputation: 4595 Guru
Group:
Mentors
Active Posts:
15,362 (7.53 per day)
Joined:
25-December 09
Profile Views:
76,957
Last Active:
User is offline Private
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Linux
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
50
Expert In:
C/C++

Latest Visitors

Icon   jimblumberg has not set their status

Posts I've Made

  1. In Topic: Assertion Error While Running Addition Function

    Posted 25 Jul 2015

    Did you press the "Retry" button to run the debugger? The debugger should be able to tell you exactly where the problem was detected and allow you to view the variables at the time of the crash.


    Jim
  2. In Topic: how to replace data between files at proper position

    Posted 25 Jul 2015

    Quote

    Can you please explain why there is a need to open barcode file in binary mode?

    Since your barcode file seems to have control characters embedded within it you probably don't want your system to modify any of these control codes. One of the things that can get modified when using a text file is the line endings. Embedded systems can be quite particular about these particulars. And because of these embedded control characters you really can't use a text editor to view this file.

    Look at the first few bytes of the file you posted:
     02 63 30 30  30 31 0D 0A
    

    Notice all those "characters" that have values below 32? Those are considered control characters. Are you sure your printer will respond correctly to the OD OA line ending pair? Remember if you treat the file as a text file you will get different line endings depending upon what operating system you used to create the file.

    Look at how these characters are displayed when viewing as a text file:
    c0001
    

    But decimal 63 should be the '?' not the 'c' character being shown.


    Jim
  3. In Topic: how to replace data between files at proper position

    Posted 24 Jul 2015

    By the way BARCODE.txt should probably be opened in binary mode instead of text mode.

    Also who is the manufacturer and what is the model of the Bar Code printer that will print the barcode associated with that file?

    Jim
  4. In Topic: "...was not declared in this scope" error, tried standard solu

    Posted 23 Jul 2015

    Please note that implementing a function inside another function is usually not recommended in a C program and should not compile in a C++ program. Functions should be implemented outside all other functions.

    // Function prototype.
    float fahrentocel(float fahrenheit)
    
    int main()
    {
        float LOOKATTHISNAME = 1.25;
    
        fahrentocel(LOOKATTHISNAME);
        
        return 0; 
    }
    
    // Function implementation.
    float fahrentocel(float f)
    {
        float result = (f-32)/1.8;
        return result;
    }
    
    
    



    Jim
  5. In Topic: My Questions C++

    Posted 22 Jul 2015

    This is not a compiler question, it is an IDE question. With most IDEs there are ways of modifying the code completion setup and there may be a way of "fixing" your issue. I myself find that I normally turn off code completion and Itelinonsense in my IDE since I feel it just gets into the way, but since I don't use that particular IDE I can't help you find where these settings may lie. Perhaps you should find some documentation for your IDE and see if that helps to explain the process.

    Jim

My Information

Member Title:
Age:
Age Unknown
Birthday:
December 6
Gender:

Contact Information

E-mail:
Private

Comments

Page 1 of 1
  1. Photo

    mireille4U Icon

    30 Apr 2015 - 05:26
    Greeting from mireille i saw your profile today and i became interested in you and i will like to know more about you and if you can mail an email to my mail address (mireille4u@live.com) i will give you my picture.here is my mail address i hope we can move from here.above. Mireille
  2. Photo

    modi123_1 Icon

    17 Nov 2014 - 08:11
    I like brocken's comment "I don't know much about coding, but it would be really easy".
    Heh.. I don't know anything about the topic, but I know it is easy.
    Riiiiiiiiiight.
  3. Photo

    brockenglass101 Icon

    22 Oct 2014 - 02:34
    I know that this isn't what this site is for but many people in the pc gaming comunity have been looking for screen magnification program that would zoom in on the center of the screan rather then the cursor (turned on and off with a hotkey). Now, I am not going to lie, I don't know much about coding, but it would be really easy to make program like this one.
    I hope you will find ...
  4. Photo

    KnifeTea Icon

    11 May 2014 - 05:55
    thanks for the help Jim!
  5. Photo

    tarmizi_adam2005 Icon

    04 Dec 2013 - 07:15
    Just stopping by to say Hello Jim. I've learned quite a few things from your posts in the c/c++ forum.
Page 1 of 1