Posts
 
Reputation
Joined
Last Seen
Ranked #191
Strength to Increase Rep
+9
Strength to Decrease Rep
-2
96% Quality Score
Upvotes Received
77
Posts with Upvotes
62
Upvoting Members
54
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
19 Commented Posts
~263.72K People Reached
About Me

I love to program, just a fact. I'm also very good at both programming and mathematics. I am from near Toronto in Canada. I ski.

Interests
Programming, Skiing, Kayaking, Mathematics, Chess, Computer Gaming
PC Specs
I have a very nice computer running Arch Linux on dual monitors. Ask me for more info if necessary!
Favorite Tags
Member Avatar for vegaseat
Member Avatar for Reverend Jim
15
13K
Member Avatar for Tierra

#include <iostream> using std::cin; using std::cout; using std::endl; using std::ios; #include <iomanip> using std::fixed; using std::setw; using std::setprecision; using std::showpoint; int main() { const int PEOPLE = 5; const int PRODUCTS = 6; int sales[5][6]={{1},{2},{3},{4}}; double value; double totalSales; double productSales[ PRODUCTS ] = { 0.0 }; int salesPerson; int …

Member Avatar for Adnane_2
0
15K
Member Avatar for sya20

It has been a long time since i do C++ programming and I am stuck on this question. I don't remember how to solve this kind of question. haha Part 1: Develop a C++ program which asks the user for the choice of either 3x3 or 4x4 2-dimensional array (use …

Member Avatar for pass4sureguide
0
410
Member Avatar for Labdabeta

Hello, I am having a bit of an issue with my networking addition to my game engine. The engine uses SDL to provide an event-driven programming environment. I tried adding networking functionality, but it doesn't seem to work. Here is the relevant code: //includes #if defined(_WIN32) #include <winsock2.h> typedef int …

0
166
Member Avatar for The Dude

I scored 19 :) With this test someone can find out if he/she has psychopatic tendensies. Do the Psychopathy Checklist yourself here: Note: between 30 and 40 means you're in high risc of becoming (or already are) a psychopath. However, only a few individuals ever (worldwide) reached the highest score …

Member Avatar for maydhyam
1
5K
Member Avatar for Labdabeta

Hello, I am working on a moderately large web development system and have been charged with developing the server-side application for the web site. As a primarily local developer I have by far the most experience in C/C++. My favourite language is Ada, just to give you a sense of …

0
258
Member Avatar for keval_hack

[I]Interesting tricky program using C & C++: [/I] [B]Program 1:[/B] Create a Program which produce output "Hello World" , the program must not contains semicolon ; in other word any statement of the program will not have a termination semicolon. [B]Program 2:[/B] Write a C or C++ program which run …

Member Avatar for Ahamed_1
-1
2K
Member Avatar for Labdabeta

Hi. I am familiar with the following C graphics libraries: Cairo, SDL, SDL2, and OpenGL. The problem I have found with these is that they either require shared libraries (Cairo/SDL/SDL2) or are difficult to make cross-platform (OpenGL). I am wondering if there are any graphics libraries for C that do …

Member Avatar for gusano79
0
2K
Member Avatar for booglaoogla

Write a C++ program to determine a student's grade. It reads three test scores (between 0 and 100) and calculates the average score and converts it to a letter grade. Grade Conversion Rules: rule a. If the average score is 90 or more the grade is 'A'. rule b. If …

Member Avatar for triumphost
0
351
Member Avatar for Ghost0s
Member Avatar for naz1234

Hi, from the result in my "for" loop, have stored four value. How to extract that value to show the value(sprintf) ? Kindly refer to the attached the image file. Thanks Regrads, nazif

Member Avatar for naz1234
0
226
Member Avatar for Stefce

Hello guys i have a really dumb problem i have two classes the first class is where the input value needs to be applied/readed and the second is where is inputed i do not know how to do that please someone help me This is where it is inputed the …

Member Avatar for Stefce
0
250
Member Avatar for Labdabeta

Hello, I recently wrote a program that I wish to be portable (IE: no installer, just raw files). I have made an icon for the program and can attach it to a shortcut, but not to the executable itself (it stays as the default). On top of that I have …

Member Avatar for Moot
0
230
Member Avatar for maenzaid

i have programe in c but i need to use function and i have no idea how do it can any one help me please and one more thing i cant use loop inside case so it must be out #include<stdio.h> #include<stdlib.h> int main() { int row ,n,c,temp,k,count=1; int input …

Member Avatar for Labdabeta
0
327
Member Avatar for chahinez.abdelo.9

product between 2 arrays of 2 dimensions and be the score is stored in another array using ecplise and gridsim for exemple: mat3[i][j]= mat1[i][j]* mat2[i][j]

Member Avatar for chahinez.abdelo.9
0
188
Member Avatar for Amit_25

hii I have a list having m1 m2 m3........ m922 and in each there are a1 a2 a3 a4 are there like m1=a1 a2 a3 a4 a5 a6 m2=a1 a2 a3 a4 a5 a6 m3=a1 a3 a5 a7 a8 a2 etc and i want this as m1=a1 a2 a3 a4 …

Member Avatar for Labdabeta
-2
161
Member Avatar for Labdabeta

Hello, I posted on this forum two times before about a particular pair of non-printing characters being inserted into my code. You can find the threads [here](https://www.daniweb.com/software-development/threads/441611/stray-non-printing-characters-in-my-programs) and [here](https://www.daniweb.com/software-development/cpp/threads/450296/arbitrarily-appearing-non-printing-character). Two great posters tried their best to solve this problem (mike_2000_17 and deceptikon) to no avail. Finally, using the hints that …

0
125
Member Avatar for veselin.lalov.3

I want to get the occurence of the symbol ';' for each line of this C program. I type the name of the file Source.c and try to count the occuring symbol, but i am getting the value for ALL of the ';' for each line. #include <stdio.h> #include <stdlib.h> …

Member Avatar for Labdabeta
0
154
Member Avatar for abelLazm

I found this game on another forum and found it really very interesting lets start it here :) hope everyone will enjoy it Make a wish, and let the next poster give you some bizarre result based upon your wish. Example: I wish I had a million dollars. Reply: "You …

Member Avatar for James_40
8
9K
Member Avatar for ddanbe

Mine is: > *procrastination* Don't ask me why. I guess it's the succession of vowels o a i e u

Member Avatar for bumsfeld
0
1K
Member Avatar for Labdabeta

Hello, I used to use Code::blocks and eclipse for code editing, but started to find them slow. I started searching for lightweight IDE's and found that the prevailing opinion is that if you are looking for lightweight code creation you should use vim/emacs, gcc and the other gnu utilities. I …

Member Avatar for Hiroshe
0
292
Member Avatar for iAssistant

How is your weather in your country? I am living in the Philippines and the weather here today is stormy and according to news, we are overloaded of typhoons in this month. One typhoon is over and there is 2 more waiting on the line. Oh boy!

Member Avatar for Stuugie
0
4K
Member Avatar for Labdabeta

Hello, I have an issue with a plain TeX document I am writing. I need to compile drawings as well as images into pdfs. I know how to get images into a pdf using \pdfximage which works if I compile with pdfTeX. I also know how to get drawings into …

0
160
Member Avatar for Labdabeta

Hello, I have a USB key on which I do all of my programming. It is formatted as an NTFS drive with 32 gigabytes of space. On this drive I have large C::B projects which contain both windows and linux executables. When I try to run the linux executables it …

Member Avatar for mike_2000_17
0
1K
Member Avatar for Doogledude123

Alright, so I have seen `<<` and `>>` in a few different Java Programs and I have an idea of what they do, but I have no idea what you would use them for. I haven't ran into a problem where I need to use them, so if someone could …

Member Avatar for Doogledude123
0
180
Member Avatar for Labdabeta

Hello, I have a bug in my program somewhere and I cannot understand why. The program merely prints data from a binary file. Here is the code: #include <iostream> #include <fstream> #include <vector> #include <cstdint> using namespace std; int main(int argc, char *argv[]) { if (argc!=2) { cout<<"Invalid argument count, …

Member Avatar for Labdabeta
0
409
Member Avatar for Labdabeta

Hello, I have learnt a few assembly languages (MIPS/x86/ARM/MIX) and I have a question about the call stack. Each of those languages uses a different method for subroutine linkage, and the way I learnt them was not conducive to recursion. Granted, if I continue reading my copy of The Art …

0
173
Member Avatar for Labdabeta

Hello, I recently took a course on assembler/compiler construction. In it we covered parsing algorithms such as LL(n), LR(n), LALR(n), and SLR(n). I understand how these parsing algorithms can be used to determine **if** an input string follows a context free grammar (CFG). At some point I also understood how …

Member Avatar for Labdabeta
0
283
Member Avatar for CreatorZeus

so im trying to convert my code from localtime to localtime_s. it was this: time_t now = time(0); tm *ltm = localtime_s(&now); i seem to be having some strctual errors. Can i have some help?

Member Avatar for CreatorZeus
0
5K
Member Avatar for Jake_4

I am new to C++ and i don't understant this error message i am recieving. Could you show me the solution? ([Error] name lookup of 'n' changed for ISO 'for' scoping [-fpermissive]) line 25, col 17 (the 'n' is the problem) #include <cstdlib> #include <iostream> #include <math.h> #include "dp_lib.h" using …

Member Avatar for Labdabeta
0
7K