Beginners - April 2010 (Page 30)

RSA Encryption issue.
 
Is they any one that can help me out. I am attempting to do RSA encryption but I am having issues with things within the algorithm. I can generate the private a...
[no replies]
Standard Deviation with Arrays
 
Define a function that takes an array as its argument and returns the standard deviation of the array. The function should have at least two arguments, an array...
[8 replies] Last: Here is a suggestion for future reference. Use constants. Use the co... (by kempofighter)
by gcr114
array loop input question
 
Hey, Im tryin to get a program goin that would allow a user to input 10 numbers and each of those numbers assigned to an array. The input has to be done in a...
[2 replies] Last: And I love these faqs on IO. You can learn a lot from the examples th... (by kempofighter)
SDL C++ Game
 
I'm trying to get my game to have a start menu that pops up as soon as you run the game so it says the name of the game and have a start game button(to press en...
[9 replies] Last: okay, so I would put the enum at the top and just add to my int mai... (by vection)
Resistor Class and Pointers
 
Create a C++ console application that utilizes the core concepts of inheritance and pointers by creating a class and a program that tests important features of ...
[4 replies] Last: Relax, the hardest part about this is going to be remembering what the... (by Computergeek01)
by biko
solve this
 
A company stores the information of her employees in a database. There are only three kinds of employees represented. Managers manage, scientists perform resear...
[3 replies] Last: Create a class 'employee'. This class should have private member varia... (by sammy34)
by guioo
Binary permutations
 
Hello to everybody. I am an old research student in management and it has been 15 years since I last did any programming (it was in high school). Needless to sa...
[4 replies] Last: Not sure if you are barking up the wrong tree. Is the output in your o... (by choisum)
by AyJay
Writing/reading array of structures to file
 
Can anyone tell me if there is a straightforward way of doing this please? I have an array of objects, for which an object class has been declared. My program ...
[2 replies] Last: I have never tried to do stuff with stdio.h, but from a quick glance a... (by hamsterman)
gettings values in an enum?
 
two questions 1) how do i cycle through the value of an enum and check each value and print it if if want to? can i do it like i would an array?> for ex say...
[3 replies] Last: so enums do not have functions? No, they don't. http://www.cpluspl... (by R0mai)
by biko
try this out.
 
Professional university library maintains an inventory of books. The list includes details like Author, price, title, publisher, acc_no, and number of copies of...
[4 replies] Last: Knoledge of classes/structs (discussed in the tutorial) is the key. ... (by sammy34)
How to define a class can't be inheritance? Like "final" Keyword in Java?
 
It can be implement in C++? Thank u.
[2 replies] Last: It can be implement in C++? It can't be implemented in C++. The bes... (by R0mai)
just noob with new question
 
well i am trying to learn to program on c++ with pdf course and now i got to the arithmetic operations and it asked me to build this code: #include <iost...
[2 replies] Last: thx i got it now :D maybe u can help me with something else, to finish... (by shadows619)
by DBarzo
Algorithm to make interleaved buffer to non-interleaved
 
Hi, I have an interleaved audio buffer: short* Buffer. And I have to do this conversion -> Is there some pattern or specific algor...
[8 replies] Last: The subject is quite big, so if u are interested, start here : http://... (by DBarzo)
by Timbo1
Global Variables
 
I am writing a program in Win32 API and I have some variable problems so I thought I better post in here. I think it is a basic thing but I just can't think ho...
[4 replies] Last: Just realised how stupid I was. Thats what I get for coding half asle... (by Timbo1)
by ToniAz
A function that modifies more than one value
 
Hello all, i've posted this before but noone replied, so i'll ask again: i need a function that scales all of its arguments with a constant (or does a random...
[3 replies] Last: do it like this: int scale(int & a, int & b, int & c) { a *= 4... (by m4ster r0shi)
by ToniAz
Procedures (opening word files...)
 
Hello everyone, How can i execute(open) a text file in a notepad or an xls file witih MS excel, or any file whatsoever using its default program??
[1 reply] : on windows you could use: system("my_text_file.txt"); system(... (by m4ster r0shi)
Rand Question (1,2)
 
What is the difference between: rand() % 10 + 1; and rand() % 11; as far as I understand, there is no difference is there? Also, I have seen...
[30 replies] Last: ok, I don't doubt that, but that's not what I asked... :/ (by m4ster r0shi)
A little assistance with arrays..
 
I am working through a program trying to get a better grasp on creating arrays. How can I create an array that equals a day. For instance days =Sunday. Th...
[1 reply] : so you want an array of 7 values that each have a day? char* weekDa... (by oghmaosiris)
what is the function of this instruction - #if 0
 
int test(b,c){ int a = 10; #if 0 a = b; #else a = c; #endif } Dear all, Please refer the example code above..Can ...
[3 replies] Last: Dear Shadow Addict and m4ster roshi, Your information, help and att... (by asgOjEs)
Multiple-Choice Program
 
I have to write a multiple choice program and the following code is as far as i've gotten. It's coming back with invalid answers and missing information and I'm...
[9 replies] Last: read the post by pangalactic and I. I'm not going to waste my time wh... (by kempofighter)
April 2010 Pages: 1... 2829303132... 35
  Archived months: [mar2010] [may2010]

This is an archived page. To post a new message, go to the current page.