- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 52
- Posts with Upvotes
- 49
- Upvoting Members
- 42
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 4
Typical software development nerd. Over-educated, perhaps. I'd rather be helping others with their programming difficulties than actually accomplishing anything of my own. Which is why I'm here. Your problems fascinate me, my own are boring. :)
- Interests
- Hiking, cycling, attending live music/theater productions, spending time with my son, staring at the…
- PC Specs
- Aging Shuttle form-factor box with Ubuntu installed, currently powered down. Two employer-provided laptops:…
Create a program that would convert a decimal number to either binary, octal or hexadecimal counterpart. Your program should ask the user for decimal with a data type of a long integer (4 bytes or 32bits in length or having a range of +2147483647 to -2147483648, or 4294967296 if unsigned). … |
|
Can anyone help me with this: I made a program where the user will choose a product from a menu and i want after the products that the user chosen will be output also below where there is like a "receipt-like" or a summary of what the user bought. I … |
|
i'm trying to use the elif statement but every time i try to use it it gives a syntax error. here's the code: [code] n = input() while n != 2: n = n - 2 print "number is even" elif: n < 2: print "number is odd" [/code] |
|
Hi there, well, i have homework of packet sniffing software i'm not suppose to write the code,but i need to make a report of an existing code and explain it in details. I found the following code somewhere(the code should be of a packet sniffer) ,but i couldn't run it.I … |
|
Ok I need to know how to fill in blanks on a website. My example is if I wanted to fill in First name, second name, address on a website and repeat. Can someone help me with this. Some people say its called a "bot" |
|
Hi. i need some help with this game i want to simulate with c++ (with the graphics.h library). i want to make a replica of Pacman. i already built the map, but now i got stuck: #1. i don't know how can i avoid the walls/obstacles (i have a blurry … |
|
hey guys I need help with this I have no idea how to work this out please help me with like atleast the starting coding i am trying to google too but i cannot find any info on this. ***"char * copyString( const char * s ); copyString returns a … |
|
Hey guys! It's been a long time since I visited daniweb,but I need some help understanding something.A friend of mine gave me problem to solve, but the assignment is strange,I can't seem to find the actually meaning of what I need to generate as an answer.Here goes: By a given … |
|
Show the hex addresses and variable values after the statements have been executed. (All pointers are 4 bytes!) The first byte of memory below is xFF2A. Not too sure if I am doing this right. Please help. Thanks. t s r q x d c b a 8 8 4 … |
|
I tried to create an hourglass with asterisk characters using 'for' loop... both decrement and increment works fine, but I got stucked with text alignment where those asterisks supposed to be printed in the center and justified to bring an hourglass look instead of being sticked to left or right … |
|
Hello everyone and good day!!! I'm trying to embedd an image watermark to another image for copyright protection and I plan to use DCT and embedding the watermark in the middle band coefficeint of the host image. The problem is I don't know which of the formulas to use since … |
|
I want from you to give me a cpp code of a magic squire like this .. one dimention array takes 16 integers then put these 16 integers in 2 dimention array then test this array if it's a magic squire or not .. if not we will randomily rewrite … |
|
hello :) i'm looking for an algo to find out all possible combinations of a 2d array entries, wich are (Tasks x Processors). i.e, i have to find out all possible schedules to schedule tasks against processors. numbers of tasks and processors are variable. Suppose : ............P1.......P2.......P3 .................................... T1........3 ........6..........4 … |
|
The language i'm trying to do this in is c++ let's say i have a number 123456 , i want to divide this up into partitions of two so i would have: 12,34,and 56. I want to add the partitions up and it would equal 102. How can this be … |
|
|
> My code Not working Why ???? there is some processor fault Error |
Purpose: Create a C++ class; use operators, overloading, member functions, friend functions, constructors and private data. • Make the data members private. (This means that the non-member functions below will have to be friends of the Data). • Create a member function called ‘set’ with the same arguments, and return … |
|
I have my project due of hangman and it is worrying me lately. I need to make a hangman game. I have studied arrays, functions, loops, if else statements. That is about it. I haven't done 2d arrays. Will do it now, because someone told me it is not possible … |
|
I have searched for and read through over 50 examples of linked lists. I can barely make heads or tails out of them. Some are in C, some are in Java, some use templates, most only discuss theory and display flowcharts but have few explained examples. I need serious help! … |
|
I need help with this code Constructer is abnormally called again n again.... add these file 2 a project n run ...i've given given constant messages in da code to explain the problem! Hit (1) two tyms i.e GetInput function in da menu.... u'll get 2 knw wat da problem … |
|
Hi guys, I'm trying to read data from an excel "csv" file and save it in a list. the problem is that I want to have a copy of this list named "list1" that will not change during the manipulations and claculations, because when I copied the contents of "list1" … |
|
I have the program working up to the point where at the end of every test it fails and get. where do I need to look to start fixing the failed tests.(files are attached at the bottom) This is my output: START OF TEST 1: Testing insert, attach, and the … |
|
Trying to get soemone to input a Password (hello) as an input and then getting a loop to a second part of the program where he/she inputs his/her name and then gets a response accordingly. Not sure why this is not working but maybe someone else does. let me know … |
|
Hi there everyone, Hoping eveyone is alright! I just got built this simple database program. Things were quite fine not until I reached a point where i couldn't read the records in my little database. I have tried to figure out where I could have gone wrong but I don't … |
|
Hi, I am creating RTF editor in python. I am not able to get which classes or library I should use for opening and saving RTF files. I found one pyrtf but that is very old and just for exporting... Please help me out.. Regards Neelesh Gurjar |
|
So I've been working on a Hash Table that uses nodes to store data. I'm having issues figuring out the copy constructor and assignment operator overloader. In my main I instantiate 3 hash tables. 1 default(size 10), 1 size 7 and another one that copies hashtable size 7 to it. … |
|
I wrote a selling ticket program for a concern into a text file name "Sales.txt" to show the TotalValue with the following format: 21 30 40 24 87 44 51 29 58 20 Totally, I have 10 values. However, my new assignment asks me to make a new program that … |
|
By background, I am a database person. I am trying really hard to wrap my head around C++ for a class I am taking. The following is an assignment that I just received. I don't want the answers but I would like if possible, to start a discussion. My class … |
|
Hey i want to know how to make my single linked list a double can anyone help? #include "MyLinkedList.h" #include <iostream> int main() { SListNode<int>* list = new SListNode<int>; //Set 3 LinkedList nodes to contain 3 int variables. list->m_data = 10;//(1). list->m_next = new SListNode<int>; list->m_next->m_data = 20;//(2). list->m_next->m_next = … |
|
Hello everybody, I need a way to practice the basics of c++ that i learned.I can use classes, objects, pointers and the very basics. What can i do to practice them in a useful way. I dont want to make a useless program. Please give me ideas and thanks !! |
|
Let me try again my name is Leonard Norwood Jr. I'm doing my homework where I have to write a program that outputs the users's weight on different planets. Should sound familiar With classes, I need to have one default constuctor that will create an object representing earth. The class … |