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

Reputation: 480 Architect
Active Posts:
2,633 (0.81 per day)
25-October 06
Profile Views:
Last Active:
User is offline Today, 11:39 AM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:

Latest Visitors

Icon   horace has not set their status

Posts I've Made

  1. In Topic: Array Index Out Of Bounds, I don't know how to fix this

    Posted 4 Oct 2015

    did you intend to have an assignment in line 83?
  2. In Topic: why the function show the address not the values

    Posted 4 Oct 2015

    I assume your
    void end(int*at_end,int size,int value){

    function is attempting to extend the array to the new size and fill the new section with value
    if you are going to create a new array in end() I woudl think that you need to pass the address of the pointer (not just the start address of the existing array), the current size and the new size, e.g.
        int *data=new int[5]();
        end(&data, 5, 10, 25);
  3. In Topic: problem with a conversion program!

    Posted 3 Oct 2015

    once you have calculated the dollars (as an integer) you need to subtract it from the totalAmout to get what is left, etc
  4. In Topic: C++ Tictactoe code

    Posted 3 Oct 2015

    for a start I would expect your test code to be using the header files given to you, e.g.
    #include <iostream>
    using namespace std;
    #include "board.h"
    #include "ai.h"
    namespace tictactoe {
    Player X;
    const Player board[9] = { X,X,X,X,X,X,X,X,X };

    should the start of chooseNextMove() be something along the lines of
    bool chooseNextMove(const Player board[9], Player player, int &row, int &col){
      while (checkBoard(board)==Player::None){
        Player copy[9];
        copyBoard(board,copy);//copies array
  5. In Topic: Help in C

    Posted 3 Oct 2015

    probably some of the problem is that the question the user is asked does not correspond with the how the data read is processed, e.g.
       printf("Enter the monthly interest rate of the loan.\n");
        scanf("%lf", &yearly_interest_rate);

My Information

Member Title:
D.I.C Lover
Age Unknown
Birthday Unknown
Norwich UK
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:
Programming Languages:

Contact Information

Website URL:
Website URL  http://


Page 1 of 1
  1. Photo

    GautamMohan Icon

    20 Sep 2015 - 01:12
    I want to know how to code to communicate between two single board computers. In my industry we used Fastwel, Octagon system single board computers. We use Rs-485 for communication between these processors. What is the best way to start. I have knowledge on basic and c++ programming but hardware to hardware interaction i have no idea. Please help on learning this aspect.
  2. Photo

    GautamMohan Icon

    20 Sep 2015 - 01:11
  3. Photo

    R@HUL Icon

    18 Jul 2015 - 00:13
    hey can you check your inbox please...
  4. Photo

    roosh.t3 Icon

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

    macosxnerd101 Icon

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