132,726 Archived Topics
Remove Filter ![]() | |
i have a homework for our programmin classes, i searched for other solutions regarding the gotoxy function, but all saw was for devc++, turboc++ and other IDEs, when i use the function for devc++ or turboc++, i know it wont work, but i tried it, says there's not library for … | |
Our teacher gave us this project and i have no idea about how to get started with it....can someone give me any guidelines about it please????!!!! "You are required to implement an “Online Testing System” which should be able to store questions along with their answers in the question bank … Software Development c++ | |
I have been coding in C++ for a few years now and am comfortable with OOP concepts and Data Structures. Now I wish to pursue a higher level language which will hwlp me in application development. After much reading, I arrived at C# and Java. Which one should I pursue? … Software Development c c# c++ java oop open-source unix visual-studio | |
[CODE]#include <stdio.h> #include <math.h> #include <string.h> #include <stdlib.h> #include <conio.h> // Function prototypes void MainMenu(); void PaymentMode(); void get_password(); #define FIELD_SIZE 25 #define length(array) ( sizeof (array) / sizeof (array)[i] ) struct account { char *id; char *password; }; static struct account accounts[] = { { "alexander", "iamsolame" }, { … Software Development c promotion visual-studio | |
I had to develop a brute force, a recursive, divide and conquer, and transform and conquer algorithms for calculating the nth power of a, a^n, for an assignment. I got the first three done pretty easy but I'm completely stumped at how to do the transform and conquer algorithm. I've … | |
I have this Java program which gives an output that runs into 10000s of lines. I use Windows. When I run the program in cmd, It doesn't show more than around 500 lines, how do I see all my output? Software Development java | |
sir can you help in displaying the information of installed software on our computer.. | |
hi, I need help in adding questions in a program using strings, structures or array............. Plz help me n snd the code Software Development c++ | |
So, I need to make a binary tree, except each node needs to hold multiple data types... My instructor told me to use structures, but I am still lost as to how to put all this data into the tree. [CODE]struct record{ long int student_id; char lastname[12]; char firstname[12]; char … Software Development c++ | |
hi frndz.... i was wondering that given 1<n<1000000 & 1<r<1000000 how do i [B][I]efficiently[/I][/B] find nCr (combination) for any given values of n & r. please help with an efficient algorithm... | |
hey folks can someone help me how to use or connect database to visual basic hoping for your kindness. God bless !!!!!! Software Development visual-basic | |
[CODE]import csv class Reader(object): def __init__(self): self.names = [] self.idigit = [] self.fileReader_list=[] self.fileReader = csv.reader(open("survey_result.csv", "rb")) self.fileReader_list.extend(self.fileReader) for column in self.fileReader_list: self.names.append(column[1]) self.idigit.append(column[2]) del self.names[0] del self.idigit[0] X = Reader() for i, names in enumerate(X.names): print names, X.idigit[i][/CODE] Ch, Sbb 6748 Oudfd, Sufdfdfy 8473 Sdfdfu, Radfdf 5667 Adfn, Mudfmmdfd … Software Development python | |
Hi, I'm trying to figure out how to convert a hex number (that I read in from a file) to an 8 bit binary number. At the minute I'm converting the number from Hex to decimal to binary (which probably isn't the best way). The only problem I have with … Software Development c | |
//ok i need to write a programme that asks the user to input student numbers as an array and check the initial number and allocate them into different classrooms.. my code looks lik ths: [CODE] #include <stdio.h> int number; int i; int student_number[10]; int total; int first[0]; int main (void) … | |
I have genuine VS 6 Keys as well as accompanying MSDN library. But VS set up CD is missing :( Where can I download VS 6 setup? I have wondered in MS site and all I see is no VS6, juststories about it! Software Development c++ | |
Can someone explain to me why this shows up as Foothill (user input) : -9.222255e+061 ---------------------------------------------------- DeAnza (user input) : -9.222255e+061 ---------------------------------------------------- SJSU (user input) : -9.222255e+061 ---------------------------------------------------- : 10 ---------------------------------------------------- : 20 //my input ---------------------------------------------------- : 30 ---------------------------------------------------- [CODE]void VectorList::DailyReport() { cout << "==========NGS Daily Temperature Report==========" << endl; … Software Development c++ ![]() | |
I'm now stuck on trying to figure out why my letterGrade function isn't working....I'm trying to take the numerical values found right before it, in the Avg colum, and turn it into a letter grad (which I assume needs to be as a string). Any suggestions? [code] Total Number of … Software Development c++ | |
Hello, can someone help me to figure out how i can print the content stored in si ? suppose i did: sub si,si inc si ---> repeated this few time. how can i print the number in SI on the screen? Software Development assembly | |
new poster, need help with a pig latin translator. translation doesn't work properly, any tips or troubleshoots? sorry if it seems long... any help would be greatly appreciated [code] #include <iostream> #include <string> using namespace std; bool isVowel(char ch); string rotate(string pigStr); string pigLatinString(string pigStr); int main () { char … Software Development c++ | |
Hi all, I need to draw simple lines on JFrame/JPanel. What is the easiest method to go? Also what do I need to display an image on JFrame/JPanel Thanks Software Development java | |
Hey guys! I'm on a new topic and I'm finding it to be a bit frustrating. And basically the way I am learning classes and ADT's is by playing with them. So, I started and I [I]think[/I] I understand the basic concept. I am going to post the code below … Software Development c++ | |
I am trying to figure out why my letterGrades and highest function aren't working.....I'm more clueless on the letterGrade portion, as I believe that my highest function is a simple fix that I'm just not seeing. With the letterGrade function I am trying to assign a letter grade to each … Software Development c++ | |
Hi! I need to split a list if item A is followed by item B. I'm really stuck at this and the only thing i could think of is that i should use regex, but i dont know how. Example of list: list = ['email@email.com', 'email@email.com', 'email@email.com', 'REF123', 'REF123', 'email@email.com', … | |
Heya people i really would appreciate some help here.. The Program Works Just Fine At compiling but after like 1 second after ctrl + f10 to test it i get an error . I looked on google and it is something like Killed by signal 8(SIGFPE). [CODE] #include<cstdio> #include<cctype> #include<string> … | |
Hey everyone...... I was studying the course of Data Structures(DS) and in the end we have to make a Project.......so guyz its the time of project..... I thought of making something with suffix trees ..... so please anyone if you have any idea for a DS project concerning Suffix trees … Software Development c++ data-structure | |
can get a step by step approach please? Software Development python | |
I noticed that when i posted programs on here people gave me their versions, and had [CODE] import * def somethng_here(): while True: Try: pass except ValueError #or some other types of things liek that [/CODE] I don't understand how a function can be FALSE, as well as how these … Software Development python | |
As I am working on my first application the thought occured to me: 1) Are "plug-ins" a common thing for applications to support? As in..."copy this .dll (or whatever) to this folder and bam! you get more features!" 2) How do most people handle updates? Replace the entire executable or … Software Development | |
I don't understand where the last line of my input is coming from....The program should stop reading with Hebb,Emily, but it seems that it's trying to bring in another line of information...any ideas? [code] Total Number of Students: 73 ID LName FName Q1 Q2 Q3 MT Q4 Q5 Q6 F … Software Development c++ | |
I have this iterator that I want to format so the output is something like this. < "Index of first node"(first value of iterator)<<"Second index"(second value of iterator). Can anyone help me with this.[code]void Level::printAstarList(list<int> AstarList) { // cout<<"<"; std::list<int>::const_reverse_iterator it; for (it = AstarList.rbegin(); it != AstarList.rend(); ++it) { … Software Development c++ | |
Lately I've been writing a lot of code involving the creation of new objects, and I quickly come to find that Python almost always creates a reference to an object instead of a new object. I understand the importance of conserving memory usage, but in this instance I actually need … Software Development python | |
[CODE]class Car { public: Car(string name, const int wheels = 4){} private: string name; }; void main() { Car("Ford",3); // Why can I put in a 3? } [/CODE] Software Development c++ | |
The program needs to read an excel file that contains a list of data (a list of students, thier module mark, student ID) The data needs to be presented in the following format: User ID : Name : Module ID : Mark The program also needs to have a menu … Software Development file-system java | |
Hi, I'm trying to incorporate a program title and welcome message into my code and I'm not sure if I have done it correctly. I would also like to know how to incorporate the following function calls into my code: Call Personnel Age Call Calculate Average Age Call Display Average … Software Development c++ | |
can anyone help me determine it? from the looks of pages on google. it's just a bunch of 90 degree angles that are constantly rotated 45 degrees about it's axis. thanks. | |
My assignment is to write a c++ program which does statistical analysis of a group of exam scores. Up to 100 scores may be entered. All scores should be validated within the range of 0-100. A (-1) will be entered to signify the end of data. Scores may be decimal, … Software Development c++ | |
Okay, this is what I am trying to do. I am attempting to create my own encrypter. I have the base encryption running, used just to encrypt a string you put in. I am going to add functionality to open a text file's contents and encrypt them, outputing them into … Software Development encryption python | |
Hello, I need to compare arrays in perl. Now the arrays are arrays of strings. The strings are similar to the following pattern: user:user@machinename.domain.com There are 4 machines. M1 M2 M3 M4 There are 4 arrays and each with a bunch of users. some users appear on multiple machines. I … Software Development perl | |
Hello! Here's what I wanted to do: [quote] Create an array with four elements holding the total corporate sales for the division. -Create a private static variable for holding the total corporate sales for all divisions for the entire year. -A member function that takes four arguments, each assumed to … Software Development c++ | |
I am writing a code which gives different colors to key works. I have written following code which will compare with key word say "ABC" when ever it finds "ABC" it will make it into blue color else red color.I am not getting whats wrong in my code. private void … Software Development java | |
Hi, I have recently completed a bubble sort array program, which works fine. And is here : [CODE]#include <iostream> #include <ctime> using namespace std; void bubbleSort(int Array[], const int arraySize) { for(int j = 0 ; j < arraySize; j++) { for(int number = j + 1; number < arraySize; … Software Development c++ | |
Hello, below is my polynomial code. I had to add and multiply 2 polynomials. 1) All i have to do more is to sort decreasingly the adding() and product() functions. Eg: 4x^6 + 6x^4 + 2x^2... etc. 2) Second, to add the coefficient with the similar exponents, same in the … | |
So my listname is men =[] How can i print just the 10 first elements of the list? It contains 15... And it's a matrix... I thought about making a while-loop while i > 9: but it didn't work. Can anybody help me please? :)[code]for gender in men: print gender[0] … Software Development python | |
I need help with the two dimentiona array because this is a big program to start learning this. Here's what i have so far. [CODE]#include <iostream> #include <cstdlib> #include <cstddef> //typedef char* CharArrayPtr; //CharArrayPtr a; //a = new char[number_of_rows]; int NO_ROWS = 7; typedef char* SeatRow[4]; typedef SeatRow Seating[NO_ROWS]; //Seating … | |
when we create a file in c++. can we actually see it in the given folder.if yes then why cant i? when i run the program it display nothing.n no files by dat name is shown in that folder Software Development c++ | |
Hello all, I am getting a few errors with my code, I have been playing around with it but I guess I still needed a few tweaks. The errors and code are as follows: 23 C:\myC++projects\averageproj.cpp expected `;' before '}' token 27 C:\myC++projects\averageproj.cpp expected primary-expression before '<<' token 34 C:\myC++projects\averageproj.cpp … Software Development c++ | |
My form's KeyPreview is set to True. I want to allow my users to use the Enter Key instead of just the Tab key. I have the following code in my form's KeyPress event: [code] Private Sub frmDesigner_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress If e.KeyChar = … Software Development vb.net visual-basic |
The End.