Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
94% Quality Score
Upvotes Received
18
Posts with Upvotes
15
Upvoting Members
10
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
4 Commented Posts
2 Endorsements
Ranked #621
Ranked #585
~124.51K People Reached
About Me

Programming level: Intermediate. I am improving. Keen on learning new languages. Am quite good with C++ and Java. Learning android app development at the moment.

Interests
Soccer, Games, Programming, Physics, Chemistry, Business, Cooking, Music
Favorite Tags
Member Avatar for Duki

Well I just started eating dinner and thought this would be a neat topic. Everyone knows we love to eat while on the computer; two birds, one chair. I'll start it off: Deli Sandwiches, macaroni salad, potato salad and a Pepsi :)

Member Avatar for Dani
22
17K
Member Avatar for LastMitch

Hi I watch a few movies the past weekend, just to relaxed and not think about work. I saw a few movies. I saw: **The Raid Redemption** - The best action movie this year! It's a **Indonesian** action film. The director is **Welsh** but he speaks **Indonesian** and **English** and …

Member Avatar for LoanHensley
6
6K
Member Avatar for kal_crazy

I am using CPU Sim to change wombat1 to wombat2 by adding stack. I have done adding a Stack RAM and a Stack pointer SPR. I have implemented a push instruction as such: acc->mdr mdr->Stack[SPR] End The implementation is able to push the acc value to Stack but not able …

Member Avatar for Ajnesh
0
2K
Member Avatar for agrbinoo.albaker

Write a C++ program that inputs a wavelength and then displays the associated light color. If the wavelength is shorter than 400 nm or longer than 700 nm, display the message “Wavelength outside visual range”. Classify boundary wavelengths as the lower-wavelength color. For example, label a wavelength of 424 nm …

Member Avatar for braian44
0
718
Member Avatar for benbee

This program should calcuLate users amount of watts consumed based on their appliances and the aprroximate number of hours each appliance is used in a day, week or month. The basic requirements are as follows: Give user option of selecting predefined home appliances or entering their own and corresponding watts …

Member Avatar for luff
0
763
Member Avatar for mathgirlgrade6

Hi, So how exactly do we take the length of an int array? Lets say that there is an array called int nums []={2, 1, 2, 3, 4}; Is there a function that can be used to find it?

Member Avatar for Donald_6
0
19K
Member Avatar for Learner010

Yesterday i completed my exercises on loop , that's why today i've decided to create a tutorial on loop in c++. # Loop # loop allows us to repeat a statement or a group of statements. When we want to repeat a single statement then it is not necessary to …

Member Avatar for Markland
7
675
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 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 Techboy52

//My objective of the program is using scanner class to get the input from the user and use a dialog box(JOptionPane) for output. When I compile the file I was able to enter the input from the scanner class, but I did not see the dialog box for the output …

Member Avatar for stultuske
0
4K
Member Avatar for kal_crazy

try { /* Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver"); String loc = "jdbc:odbc:Library"; String filename = "C:\\Users\\Krishal Lad\\Desktop\\Library.mdb"; String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ="; database+= filename.trim() + ";DriverID=22;}"; // add on to the end con = DriverManager.getConnection (database);*/ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb,*.accdb)};DBQ=Library.mdb;"; System.out.println("connecting to database..."); Connection conn = …

Member Avatar for 203428
0
427
Member Avatar for deceptikon

##Why Use Arrays?## Let's begin by considering why arrays might be needed. What is the problem that this feature solves? How does it make your life as a programmer easier? When studying new features, it's important to recognize what that feature does for you and where the incentive is in …

Member Avatar for mike_2000_17
4
738
Member Avatar for kal_crazy

Creating a text editor. Thread 1 creates a file and listens for user input. Thread 2 checks for spelling mistakes. How do I show spelling mistakes on the console? Should I highlight the text that has the spelling mistake? I tried that but it just highlights the following text in …

Member Avatar for Moschops
0
218
Member Avatar for kal_crazy

The aim is to create a gdb function that changes current path to the upper level i.e `C:\Windows` to `C:\` I tried to strip away characters while the buffer array != '' Here is what I tried: void gdbCommand(){ char buffer[MAXCHAR]; strncpy(buffer,path,sizeof(buffer)); char result[MAXCHAR]; for(int i = 0; i < …

Member Avatar for Kristian_2
0
214
Member Avatar for kal_crazy

How to save the created txt file to a specified path? For example to C:\\ Drive. When the code creates a file it saves to the workspace folder of the project. Do I have to set the directory to C:\\? I tried using `SetCurrentDirectoryA` function but does not change to …

Member Avatar for kal_crazy
0
2K
Member Avatar for kal_crazy

Is it possible to change the value of a const variable? My aim is to change the directory of the Shell. I have set `const char* path = "C:\\"` as current directory. So if the user inputs "gd" then it will ask a directory to be set as the new …

Member Avatar for mike_2000_17
0
309
Member Avatar for amcath
Re: C++

Hi Could you please tell me how to solve this simple problem in c++. #include<iostream.h> #include<conio.h> void main() { clrscr(); int a=5,b=3; int y=a-b++ * --b; /* manually I get the answer as 6 , but the compiler gives as -4 . how?*/ cout<<y; getch(); }

Member Avatar for deceptikon
0
245
Member Avatar for kal_crazy
Member Avatar for GrimJack

Today is a sad day for South Africa, Africa, and the world; with the passing of Mandela there is an emptiness in the world that will be hard to fill.

Member Avatar for GrimJack
2
837
Member Avatar for <M/>

I am trying to write a program to calculate mean & standard deviation. I sort of figured out how to find mean (it is not correct yet, so i am going to need help on this part as well) but how do you do standard deviation? import java.util.Scanner; public class …

Member Avatar for dev90
0
489
Member Avatar for <M/>

This is a code that I wrote and for some odd reason it doesn't count the number of inputted integers properly. import java.util.Scanner; public class IntegerCount { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Enter an integer, the input ends if it is 0: "); int …

Member Avatar for dev90
0
317
Member Avatar for <M/>

Okay, so for another assignment I have to find the distance of two points. I understand how that works but for some odd reason, when the program the professor set up tests it, the numbers are way off. This is what i have done: public class Distance { public static …

Member Avatar for <M/>
0
222
Member Avatar for pritaeas
Member Avatar for Bilal93

int rad; int rad; float PI = 3.14 ,area,ci; printf("\n Enter radius of a circle:"); scanf("%d",&rad); area = PI*rad*rad; printf("\narea of a circle is %f",area); ci = 2*PI*rad; printf("\ncircomeference of a circle is %f",ci);

Member Avatar for vegaseat
-1
195
Member Avatar for quitare
Member Avatar for Learner010
0
126
Member Avatar for electrodelic

**hello peeps and geeks, i am missing the MinSpanningTree function here.. any help please? need to fill up the function to get a) Minimum spanning tree cost for the graph b)Spanning tree path for the graph. E.g in matrix or adjancency list. ** #include <iostream> #include <ctime> // For time() …

Member Avatar for Mouche
0
309
Member Avatar for migu2990

Hi, I was asked to make a Phone Book thats saves entries and call them up. Then the teacher added a new task. The Program should delete entries. He gave us a methode and said we are not allowed to use ArrayList or Hashmaps, ONLY Arrays. I tried alot but …

Member Avatar for migu2990
0
406
Member Avatar for <M/>

Okay, last question of the night. My program is to have a program collect a number, double it, and reverse. I am having problems with reversing it... Here is my code: import java.util.Scanner; import java.text.DecimalFormat; public class ReverseNumber { public static void main(String[] args) { Scanner s = new Scanner(System.in); …

Member Avatar for kal_crazy
0
171
Member Avatar for <M/>

Hi guys, I am working on an assignment for a class of mine (Java) and I am really frustrated with it. This was my very last attempt (out of like 20)... System.out.print( "Enter temperature in Celsius to convert to Fahrenheit: " ); double c = kbinput.nextInt(); double f = ( …

Member Avatar for <M/>
0
226
Member Avatar for Neuman

Hi fellows, My question is: Is It possible to work with GUI(Graphical User Interface) in C++? Or Is it not the ideal computer language for this? Thanks

Member Avatar for kal_crazy
0
480