horace's Profile User Rating: *****

Reputation: 343 Architect
Group:
Expert
Active Posts:
2,131 (0.67 per day)
Joined:
25-October 06
Profile Views:
10,068
Last Active:
User is online 43 minutes ago
Currently:
Viewing Forum: Java

Previous Fields

Country:
GB
OS Preference:
Linux
Favorite Browser:
FireFox
Favorite Processor:
AMD
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
50

Latest Visitors

Icon   horace has not set their status

Posts I've Made

  1. In Topic: Use switch for multiple values possible?

    Posted 3 Jul 2015

    if you have a small number of cases you can
    switch (month) {
      case 1: case 3: case 5: case 7: 
      case 8: case 10: case 12:
          numDays = 31;
          break;
    
  2. In Topic: error with my first program

    Posted 2 Jul 2015

    View Poststayhungry, on 02 July 2015 - 08:22 PM, said:

    this is what happen if i built and later run the code.

    WHY?WHY?WHY?

    did you miss adding an attachment?
  3. In Topic: C# and VB.net combined in 1 project with multiple forms?

    Posted 2 Jul 2015

    you can create a dll in C# and call it from VB.NET
    http://www.codeguru....from-vb.net.htm
  4. In Topic: making ultrasound hearable

    Posted 2 Jul 2015

    could you use software such as GNU Audacity to modify the playback sampling rate of the .wav files
    http://sourceforge.n...jects/audacity/
  5. In Topic: Function question

    Posted 2 Jul 2015

    if you require a variable local to a function to increase in value each time the function is called it has to remember the last value from call to call
    for this you need to declare the variable static, e.g.
    int function(int x)
    {
      static int y = 0;
      //do something with y
       ...
      y = y+1;
      return y;
    }
    

    on first call y is 0, second call 1, etc? is that what you require?

My Information

Member Title:
D.I.C Lover
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
Norwich UK
Interests:
C/C++ including embedded code for dsPIC, PIC24, PIC32 and TMS320C6711
C#, VB.NET, Java
client/server applications using TCP, UDP, RMI, etc
Computer hardware, microcontrollers, interfacing, e.g. I2C, SPI, CANBUS, etc
Years Programming:
30
Programming Languages:
C,C++,Java,C#,VB.NET

Contact Information

E-mail:
Private
Website URL:
Website URL  http://

Comments

Page 1 of 1
  1. Photo

    roosh.t3 Icon

    19 Jun 2015 - 23:42
    Hey, I need a help in C++, if you're willing to give a help :)
  2. Photo

    macosxnerd101 Icon

    31 May 2015 - 21:22
    Welcome back, horace! It's great to see you around DIC again. :-)
Page 1 of 1