Our Computer Science forum is the place for Q&A-style discussions related to software design and schema, mathematical theory, and algorithms.

17 16 14 14 13 8 8 8 7 7
Member Avatar
Let assume that ‘k’ is an integer that indicate and reveals exactly the length of subset that sum to 0. Thus length of subset to pick is determined by ‘k’. If I would like to pick only ‘k’ distinct set of integers from any given set of integers in polynomial …
by claptus in Computer Science ()
Member Avatar
the difference between compilation and execution?
by boobalan_1 in Computer Science ()
c++
Member Avatar
Hy Guys,I Need Your Help Regarding This Question.. I run this Program on Dev c++ and Compiler did not Show Error but During INput I can not input Name and Address in both student class and School Class.. Sorry For bad English.. :) ...
by Muhammad_102 in Computer Science ()
Member Avatar
Hi, I'd been working on a MS Word document for 2 hours when Word crashed. When I restarted Word, all of my changes were GONE. Can anyone tell me how to recover my temporary document? I tried to look at my Windows/Temp folder but I'm on my work computer.
by RobertSharp in Computer Science ()
Member Avatar
Hi guys I need help from you. How do i increment the id like for example: EMP001, EMP002, EMP003 I hope you can help me out guys, thanks in advanced.
by Gilbert_3 in Computer Science ()
Member Avatar
I have the code for my InventoryManager class, my Product class, and my InventoryApp class . Based off this code, I need someone help me correctly call the methods I already have in place. There is a section where the method is supposed to be called and I have made …
by jjones0150 -3 in Computer Science ()
Member Avatar
Hi, I hope you can help me out of this because i really dont understand how to fix this code anymore, i tried and tried and it don't work. When i debug this code in Microsoft Visual Express 2010, it says the following erros are: ... ** The code of …
by khaled02 in Computer Science ()
Member Avatar
I'm really having a hard time understanding this stuff and all the examples I find online just aren't starting from a place that makes sense to me. I missed my lab last week and the prof suggested those of us who missed it should go through the lab anyway because …
by dyingatmidnight in Computer Science ()
Member Avatar
make 100 with just required digit is ..you can used four 7 digit and only one 1 digit ... 7,7,7,7 and 1; now for making 100 with them you can used any arithmatic symboil... * ,/, +,-
by hadisur_rahman in Computer Science ()
Member Avatar
I'm writing a simple program to figure out how Linked List works, put for now I'm stucking. I don't know which line cause the error or I had a mistake in thinking. I run my program by my hand and it works fine. Put when run, it gets error at …
by Gà_1 in Computer Science ()
Member Avatar
Hi , this algorithm diffecult to implement and work ,how can i write code for this because ,i write code for it but isnt work completely to find CBO i.e Eff.size. ...
by Ma. Na. in Computer Science ()
Member Avatar
hi i am making a vending machine and require some assistance Okay so I need to create a function or something which disables products in a vending machine which there is not enough credit for example if the user has 50p the user can only buy crisps and only crisps …
by Snap_1 in Computer Science ()
Member Avatar
I need simple programs written using c++ about simulation , please help!
by alfadil ahmed in Computer Science ()
c++
Member Avatar
An assignment is given to prepare a prolog code for the following scenario. Five bikes with colors Red, Blue, Black, White and Grey are in queue. At least one in front of Red and at least one behind the Blue. At least one in front of Black and at least …
by gajen007 in Computer Science ()
Member Avatar
Hello everybody im thinking about how Ai works and actualy im really confuzed and scared at the same time, so me as low programmer i know how the comuters work first you write the program than you give him input and it gives you output based on what you insert …
by Stefan_1 -3 in Computer Science ()
Member Avatar
I am super lost on most all this. Im new to Programming logic and just wondering if anyone could help me out with these couple of things? And thanks in advance!!! Identify the logic needed to apply a discount on all items in the shopping cart. Verify that the logic …
by Sean_11 in Computer Science ()
Member Avatar
how can calculate complixty for this code ... and this code ... and this code ...
by Fatma_3 in Computer Science ()
Member Avatar
Hey guys i am having a problem with this function. Its a fucntion to generate bills and i want to add a condition in where if users enters a wrong product number th program should not proceed. Any help is appreciated. ...
by sanraj_1 in Computer Science ()
Member Avatar
How to read in strings from a file convert to byte code (unicode) and save in array for hashing? how to use hashing (using list of strings) to find longest chain? (from text file dont print the output in a file just dislplay.)
by queenofdrama365 -3 in Computer Science ()
Member Avatar
Hi, I'm not sure how to add two-digit input and three-digit output capacity to the program attached. ...
by daniellemacey in Computer Science ()
Member Avatar
I'm trying to write a program that has a user input student names, their ages, their GPAs, and their graduations dates. This information goes into a linked list, then the user can search a name or part of a name to find students and display their information. ... I am …
by Emily_2 in Computer Science ()
Member Avatar
I am writing a python program on Windows using Python 2.7. Basically, it's a program that takes a 5-digit, negative & positive, number from user & spells it out in English using num2word & then speaks it out too. I have used espeak & pyttsx both but i'm getting errors …
by Sidrah_1 in Computer Science ()
Member Avatar
The king does not hold absolute power in Spartan Politics as the Ephors, the five elected leaders who have proved to be a hindrance at every step, questioning whether the warriors who were physically unmatchable, were apt in tactics ( taktikés in greek) required in the battle ( máchi̱ in …
by Oxaro in Computer Science ()
Member Avatar
Hello! I’m trying to write a small program to make a sort of animation using ncurses. I have an external file, a header file, and a main file so far. Header file contains a class with a constructor that is initialized in my cpp file, a void function that is …
by Ashildr77 in Computer Science ()
Member Avatar
Hello, i need help with my project. Im making a program that encrypts and decrypts the contents of a text file. I had to generate an 8 character key which is converted to ascii and then calculate the offset factor of the key that was generated (New every time program …
by ThePlacid in Computer Science ()
Member Avatar
I'll try to be brief in this post. I'm working on a cave generation program that will implement cell automata and marching squares. I'm new to Visual Basic and am wondering if the Canvas class is the best way to draw these black & white squares. For a reference the …
by Hopp3r in Computer Science ()
Member Avatar
Hi, i want to print game over screen for my snake game in c++. my screen size is 24*80, i dont want to change it. i try to print somethink like this: ... i used raw string but every time this printed in a mess, I understand that because of …
by עידן in Computer Science ()
Member Avatar
#include <iostream> #include <iomanip> using namespace std; enum sizes{small, medium, large, jumbo}; sizes options(int drinkSize, int popcornSize); void printTotal(sizes price); int main() { int popcornSize, drinkSize; cout<<"Please pick the size of your popcorn: "<<endl; cout<<"1. Small"<<endl;cout<<"2. Medium"<<endl;cout<<"3. Large"<<endl;cout<<"4. Jumbo"<<endl; cin>>popcornSize; cout<<"Please pick the size of your Soda: "<<endl; cout<<"1. Small"<<endl;cout<<"2. …
by Popy_1 in Computer Science ()
Member Avatar
If there is a n*n chess board ,how will I start the place of queen that didn't face attack.
by Robayet in Computer Science ()
Member Avatar
Hello , first of all I need to make clear that although I understand , and have done project modifying code that is already there , in the core of C and C++ I wouldn't consider to know those a bit, I have just a glimpse of what those languages …
by jkon 385 in Computer Science ()
Chat Log Latest Posts