No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
**** Hey guys, I really need help on this. I just submitted my exam but I won't get feedback till next week. I'm hoping that you guys can help me review. Thanks! Question 1 For each non-static data member of a class, C++ allocates only one memory space. Question 1 … |
|
Re:
> Write a recursive, bool-valued function, containsVowel, that accepts a string and returns true if the string contains a vowel. > A string contains a vowel if: > The first character of the string is a vowel, or > The rest of the string (beyond the first character) contains a … |
|
Re:
I'm self-studying python, and more advanced python programmers have pointed out to me that I'm learning an obsolete instruction set and the use of obsolete tools thanks to being taught about an old version of python rather than the most current one. The website where I'm self-studying also offers chances … |
|
Re:
I have an anagram program that if you type in a word's characters in any order, the dictionary file will be able to export it. However, my assignment is to build words that are shorter than the inputted search area in a one-to-one letter correspondance. An example of this would … |
|
Re:
Hello everyone! It has been quite sometime since I was on Daniweb, and a lot has changed. Anyway, I have decided to "fix" my old Java school ISU and make it better. (I am not in school so don't worry, I'm not cheating.) Here is my problem: I want a … |
|
Re:
I wrote a program, in which my code is checking the word entered by user and the word in a file. If the words are not same, the file is deleted. i closed the file using **fclose(fp)**, (where fp is file pointer) and to delete the file i used **system("del … |
|
Re:
Data Segment arr1 db 8,2,7,4,3 Data Ends Code Segment Assume cs:code, ds:data Begin: mov ax, data mov ds, ax mov es, ax mov bx, OFFSET arr1 mov cx, 5 mov dx, cx L1: mov si, 0 mov ax, si inc ax mov di, ax mov dx, cx L2: mov al, … |
|
Re:
Hello. I am writing a program that computes net pay by the user entering in hours and payrate. There can only be one decimal, two numbers after the decimal, and no letters. When payrate is entered wrong, it displays the correct error message. For hours, it doesn't even though it … |
|
Re:
hi guys, i am about a graduate of database management in SQL, but then i wish to study software developemt in C++, can anyone help me locate a good school around the world? |
|
Re:
If I don't know the size a string will be, and if that size may change later, and if that string may contain '0' characters, what methods are there to do this? (I would prefer a professional/reliable method if possible) |
|
Re:
HI all, I was looking at this program and noticed few things: import static java.lang.System.out; public class Employee { private String name; private String jobTitle; public void setName(String nameIn) { name = nameIn; } public String getName() { return name; } public void setJobTitle(String jobTitleIn) { jobTitle = jobTitleIn; } … |
|
Re:
Hey guys, i'm kinda desperate.. because of illness I had to miss 2 months of uni, I was seriously sick and could not even leave house for that time, now it's an exam time and I have no idea how to write it.. fortunately our teacher gave us 8 small … |
|
Re:
Hey Guys, I'm extremely new to the coding in Assembly language MIPS - currently I'm using QtSpim. And I was wondering how I can go about multiplying two numbers that I input and display that number, as well as, find an average of numbers and displaying that. Any info would … |
|
Re:
I'm trying to output data to a file. I half killed myself trying to get the program to work , everything works all data is working except for a few errors will show later. Heres my code // Week 13: In Class Exercise - 5 Solution #include <iostream> #include <string> … |
|
Re:
Hi everybody, i really need your help, im not good at designing pseudocodes but i need someone to help me out in making this pseudocode for my assignment.. here is my assignment : *The Micah-11 hardware outlets require an inventory control program that is to accept order details for an … |
|
Re:
Hi all, hope you can give me some help to edit my code. I'm unaware how to merge two arrays and allocate them to a third array(of the right size) and let's just say for the sake of things, we'll call it C. I went ahead and instead used the … |
|
Re:
This is a simple calcualtor program. What I don't understand is how I could modify it so that the calculation parameters could be intered from cmd. I don't understand how the argv and argc really work in this case. Do I need to replace all the ints with argv or … |
|
Hi, my code prints out the number of times a letter is typed. I can get it to print out the correct info, but when it deals with a white space, it will print out the list for every white space. how can I deal with this? [CODE] #include <iostream> … |
|
Hello, part of my project I'm working on needs to have me count the amount of letters in a file. This is what I have so far. Any one help? [CODE] #include <iostream> #include <fstream> using namespace std; int main () { char c ; // start with a blank … |
|
Part of the assignment I'm working on is to display random letters between my good letters to encode text. Right now I can make it display random numbers. How can I change this to out put random letters? [CODE] #include <iostream> #include <fstream> #include <ctype.h> #include <ctime> #include <cstdlib> #include … |
|
I am trying to do a command line switch with an if statement. The problem I am running into is when I am using a letter, it wont recognize it. When I use a number, no problem. I think there are a few different ways to solve this. Can anyone … |
|
I am trying to use an array that can change in length by the number in the command line. Arrays must be constant at the time of declaration. Can anyone help? [CODE] using namespace std; int main (int argc, char *argv[]) { int nulls=atoi(argv[2]); int arry[nulls]; } [/CODE] |
|
I'm trying to open a txt file using command line arguments in Visual C++. I know you need argc and argv[] in the main. What would be an example you would type into the text field on project>properties>debugging>command arguments? How would you display the text on screen? After reading the … |