132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DweyneAnne

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 …

Software Development c++ microsoft
Member Avatar for DweyneAnne
0
240
Member Avatar for Bigboy06

Hello, I am new programming in MATLAB so i do not really know all its commands, but i am trying. for the code below i need to find the values of for F,GH,BH and out of the values i find for BH i need to find it's Maximum and Minimun. …

Software Development
Member Avatar for Bigboy06
0
150
Member Avatar for ahsanmalik

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++
Member Avatar for ahsanmalik
0
109
Member Avatar for absk

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
Member Avatar for peter_budo
0
160
Member Avatar for CuteCat

I want to put music and sounds into the game I'm working on... Since the most common music-file is .mp3 and I don't know how to change it to another type, I'm worried that I won't be able to find the sounds I want - or any sounds at all …

Software Development java
Member Avatar for jbennet
0
93
Member Avatar for kingster113

[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
Member Avatar for kingster113
0
318
Member Avatar for Spreegem

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 …

Software Development algorithm c++
Member Avatar for Nimmy Chohan
0
184
Member Avatar for absk

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
Member Avatar for absk
0
78
Member Avatar for Narvind Pise

sir can you help in displaying the information of installed software on our computer..

Software Development display java
Member Avatar for matt01986
0
35
Member Avatar for muhammad zain

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++
Member Avatar for Clinton Portis
0
90
Member Avatar for Rockdrummer357

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++
Member Avatar for Rockdrummer357
0
108
Member Avatar for ayan2587

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...

Software Development algorithm c
Member Avatar for ayan2587
0
93
Member Avatar for cabsjonel

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
Member Avatar for abu taher
0
151
Member Avatar for jwxie

[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
Member Avatar for snippsat
0
154
Member Avatar for pmee

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
Member Avatar for iAmLast
0
983
Member Avatar for dewdropz

//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) …

Software Development c c# c++
Member Avatar for jonsca
0
102
Member Avatar for Stefano Mtangoo

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++
Member Avatar for Stefano Mtangoo
0
137
Member Avatar for Instinctlol

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++
Member Avatar for stephen.id
0
89
Member Avatar for PDB1982

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++
Member Avatar for Zjarek
0
234
Member Avatar for tkud

Hey everyone, can I create a folder using c++, just the way we create a file?

Software Development c++
Member Avatar for tkud
0
99
Member Avatar for Blackeagle

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
Member Avatar for NotNull
0
123
Member Avatar for camipr64

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++
Member Avatar for camipr64
0
120
Member Avatar for Stefano Mtangoo

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
Member Avatar for Stefano Mtangoo
0
5K
Member Avatar for NitaB

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++
Member Avatar for NitaB
0
156
Member Avatar for PDB1982

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++
Member Avatar for mrnutty
0
164
Member Avatar for pluring

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', …

Software Development python regex
Member Avatar for Namibnat
0
110
Member Avatar for Robyy14

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> …

Software Development c c# c++
Member Avatar for Robyy14
0
11K
Member Avatar for Adnan Saleem

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
Member Avatar for Adnan Saleem
0
443
Member Avatar for i are smart
Member Avatar for i are smart
0
381
Member Avatar for ffs82defxp

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
Member Avatar for vegaseat
0
332
Member Avatar for zachattack05

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
Member Avatar for zachattack05
0
133
Member Avatar for PDB1982

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++
Member Avatar for Lerner
0
121
Member Avatar for tango2009

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++
Member Avatar for pac-man
0
102
Member Avatar for lrh9

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
Member Avatar for lrh9
0
190
Member Avatar for pac-man

[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++
Member Avatar for pac-man
0
108
Member Avatar for Izzywizz

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
Member Avatar for cale.macdonald
0
873
Member Avatar for confusedndazed

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++
Member Avatar for Lerner
0
93
Member Avatar for MRWIGGLES

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.

Software Development algorithm python
Member Avatar for vegaseat
0
1K
Member Avatar for pbreezee

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++
Member Avatar for pbreezee
0
173
Member Avatar for hondros

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
Member Avatar for vegaseat
0
166
Member Avatar for drjay1627

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
Member Avatar for d5e5
0
120
Member Avatar for XodoX1

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++
Member Avatar for Lerner
0
154
Member Avatar for Ashwin Vasnai

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
Member Avatar for Ashwin Vasnai
0
120
Member Avatar for nedsnurb

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++
Member Avatar for mrnutty
0
2K
Member Avatar for fradiavolo

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 …

Software Development c c# c++
Member Avatar for Lerner
0
261
Member Avatar for goisagi

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
Member Avatar for goisagi
0
99
Member Avatar for dani2010

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 …

Software Development c c# c++
Member Avatar for dani2010
0
977
Member Avatar for sidra 100

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++
Member Avatar for restrictment
0
65
Member Avatar for confusedndazed

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++
Member Avatar for sidra 100
0
132
Member Avatar for Sheryl99

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
Member Avatar for hlove4u
0
838

The End.