132,726 Archived Topics
Remove Filter ![]() | |
i have spent some time trying to install glut in code blocks and so far I haven't succeeded. i have downloaded the glut-3.7.6-bin [URL="http://www.xmission.com/~nate/glut.html"]from here[/URL] . I have looked at tutorials on where to put the files in the download ([URL="http://www.sci.brooklyn.cuny.edu/~goetz/codeblocks/#win"]like here[/URL]) but it doesn't work. :icon_question::icon_question::icon_question: Software Development c++ | |
I have searched on the internet for a 'working' double to char* does anyone have any idea? I need to pass the string to a function that takes a char* as an argument. Software Development c++ | |
I'm trying to search a string array of names and return an integer to the main depending on if the search was successful or not. for example if the user entered name didn't exist it would return -1 and I can tell the user the name is not listed, but … Software Development c | |
HI, I AM THOMAS. I AM IN A COMPUTER PROGRAMMING CLASS AND HAVE BEEN GIVEN AN ASSIGNMENT. I HAVE TRIED TO FIGURE IT OUT FOR A WEEK WITH NO SUCCESS, READ DIFFERENT BOOKS AND VISITED VARIOUS WEBSITES IN VAIN.I HOPE I LANDED THE RIGHT PLATFORM TO HELP ME OUT. THE … Software Development c++ | |
how i do this problem, i dont understand this problem plz everyone can help me Write a grading program for a class with the following grading policies: a. There are two quizzes, each graded on the basis of 10 points. b. There is one midterm exam and one final exam, … Software Development c++ | |
I am trying to make a program that will check the remaining number of an item left in stock and that will, if someone buys it, subtract the amount of the item bought and then re-write it into the database... (Something like what they use in some stores) How do … Software Development c++ | |
Hey guys, I've been working on a project recently. It's pretty simple and a few friends helped me out with it, but I wanna try to improve it a little bit. I'm trying to add a sound file whenever a player wins/loses. Being brand new to Pygame, I'm not completely … Software Development python | |
i want to initialize my id column of my databse tables by 1 again when i empty the table..i tried this code but it is not working.. Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick 02 Dim i As Integer 03 04 i = DataGridView1.CurrentRow.Index 05 … Software Development vb.net | |
I want to know how exactly to add the button at the top of the search to note as the search criteria is for example asc to desc or vise versa  that is here i need a icon beside the colors to show me when i search weather … Software Development c++ | |
I'm writing a program that is supposed to take in a list of names from the user, store them in an array, and then search through the list to check and see if the next name the user enters is part of the original list of names. The issue I'm … Software Development c | |
This is what i have so far guys, //LAB 6 #include <iostream> #include <cmath> using namespace std; double getSides () { double sideA, sideB, sideC; cout << "Enter three sides: " << endl; cin >> sideA >> sideB >> sideC; } bool formTriTest (double sideA, double sideB, double sideC) { … Software Development c++ | |
Hello, i have got no expereince at all with c++.. im just adding something to the source of my private server and i failed to do so because of the fact that it wasn't a tutorial on how to add it (just a release) so here is the error: error … Software Development c++ | |
I am trying to insert new records into an Access DB and getting some weird stuff. I get the data from a DBF table and load that into a dataset table and DataGridView with no problems. Then I loop through the ds.table and insert it into the DB with this … Software Development dataset microsoft-access vb.net | |
I am developing a software that creates controls during runtime. I have used panels to place those controls. I use LABEL and a CHECKBOX to be created in runtime as sepecified by the user. They align one over the other as the checkbox over the label. [This is to allow … Software Development vb.net | |
I need a way to return the maximum value of five numbers This is the explanation •function -- identify the maximum value of the five integers â—¦function name: maxValue â—¦function parameters: five integers, pass-by-value â—¦function return: the maximum value of the five integers, as an integer This is what I … Software Development c++ | |
![]() | Hi guys, here I have a code snippet that I tried to run for 2 days without any result. There is something wrong with fread function. When debugging, it doesn't read all the file that I need Here is the link to the file http://www.math.umbc.edu/~rouben/2003-09-math625/images/reese_witherspoon.pgm In main: #include <stdio.h> #include … Software Development c |
Hi, I'm trying to apply a linear regressipn function to my numpy array and then store the results in a new array. But i have 2 things that are not working for me. def regressioncal(valarray): new_col = [] linregres valarray = numpy.array(valarray) l=20000 for t in xrange(1,5000,10): for j in … Software Development python | |
Hi guys, Finally I've registered after being a very long visitor for this awesome community. I have this problem which consumed 2 days of my time trying to figure out how to solve it. And your help is needed guys. The problem says: Transfer elemenents from Stack1 to Stack2 , … Software Development data-structure java | |
Example: #include<iostream> using namespace std; enum e_UserName { planet1, planet2, planet3, planet4, planet5, planet6, planet7 }; enum e_ServerName1 { Venus = 11, Mars, earth }; enum e_ServerName2 { jupiter = 11, pluto, neptune, earth2 }; struct map { enum e_UserName eUserName; enum e_ServerName eServerName; }; struct map name[] = { … Software Development c++ | |
this is my code, from the book *Head First Java* ... class Echo { int count=0; void hello() { System.out.println("Helloooo....."); } } public class EchoTestDrive { public static void main(String[] args) { Echo e1 = new Echo(); Echo e2 = new Echo(); // output 10 //Echo e2 = e1; // … Software Development java | |
Hey guys im having this error on my codes but seems to work on the other new projects it always highlight the .ExecuteNonQuery `{"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at … Software Development vb.net | |
Write a nested for loop that displays the following outpout: 1 1 2 1 1 2 4 2 1 1 2 4 8 4 2 1 1 2 4 8 16 8 4 2 1 1 2 4 8 16 32 16 8 4 2 1 1 2 4 8 … | |
Hi, i have a problem making my program share infos with his clone... Let me explain :) I execute my program twice, and i want it to share text like a messenger (on a single computer) and the problem is, i don't want it to be one program with 2 … Software Development vb.net | |
I have created a simple client server chat program using socket. I used to run Client program and Server program separately in two eclipse and chat is done through console only. The logic is as below: System1Class (Server) | System2Class (Client) 1) SendThreadSys1 Class | 1) SendThreadSys2 Class 2) ReceivedThreadSys1 … Software Development client-server java | |
I'm new at this. But I'm taking a class and I need to turn this in by Friday. Please help me. I can only use strings and arrays. My hangman program needs five things: 1. user is prompted for a word that is ten letters or less, or else the … Software Development c++ | |
I have a project for school that i am working on, and i cant figure out how to store names in an array. i have it declared as [code] char firstname[25]; char lastname[25]; [/code] but i was told that just stored one string and when i go to print out … Software Development c | |
![]() | I keep receiving these error messages: Applicant.cpp:25:6: error: prototype for âvoid Applicant::setDeposit(char)â does not match any in class âApplicantâ Applicant.h:12:7: error: candidate is: void Applicant::setDeposit(bool) Applicant.cpp:29:6: error: prototype for âchar Applicant::getDeposit()â does not match any in class âApplicantâ Applicant.h:13:7: error: candidate is: bool Applicant::getDeposit() Applicant.cpp:71:5: error: prototype for âint Applicant::addPoints(int)â … ![]() |
public void Enqueue(int value){ node end = endList.next; end.next=null; endList.data=value; endList.next=end; endList=end; Here is my code for an Enqueue method but when I run it mylist.Enqueue(12); It gives me an error. Is something wrong with my method or am I testing it incorrectly? Thanks. | |
Hey, I've completed an assignment in visual studio and it gave me expected results for example 261. My university system uses g++ so i compiled the assignment with it and it gave me 262 and there the exact same files. If anyone has any suggestion and experiances like this please … Software Development c++ visual-studio | |
hi there ahmm, in creating or implementing a face recognition in an system is advisable because we have an onlie poject wherein we must get the time in and out of a user that is register in the system. the problem is we do not have any background in terms … Software Development c# visual-basic | |
I am trying to calculate sales totals from a txt file. I have completed it but when I debug, it tells me that the input string is not in a correct format. I think something needs to be changed to double but when I do it gives me an error. … Software Development | |
So I am trying to make a tile map editor/reader to create and interact with maps like [this](http://www.codeproject.com/KB/game/Autotiles_Algorithm/TileMapExample.png) , so essnetially I am wondering what the best way to go about this would be. I have not done anyhting graphical in programming in a long time and yeah, I was … Software Development image java java-swing | |
Hi, I am using RC4 to encrypt the data. It works fine. But I found that some encrypted values contains NULL character or other escape characters in result. Due to which when I read the string back to decrypt, does not give the whole string back but truncate the string. … Software Development c++ encryption | |
Interesting name for a title wouldn't you say? Well I couldn't find any better way to put it. Anywho, I have been working on a new program that is designed to read in a website ever so many many seconds, parse the data, and update the GUI. Now I have … Software Development gui | |
#include <iostream> #include <new> using namespace std; int main () { int i,n; int * p; cout << "How many numbers would you like to type? "; cin >> i; p= new (nothrow) int[i]; if (p == 0) cout << "Error: memory could not be allocated"; else { for (n=0; … Software Development c++ | |
The tiny tots tee-ball league has 12 players who have jersey numbers 0 through 11. The coach wants a program into which he can type a player’s number and the number of bases the player got in a turn at bat (a number 0 through 4). Write a program that … Software Development session | |
Hi Using VB.NET I created an excel sheet with list of items in dropdownlist. Using the below code With xlWorksheet.Range("A2", "A101").Validation .Add(Type:=Microsoft.Office.Interop.Excel.XlDVType.xlValidateList, AlertStyle:=Microsoft.Office.Interop.Excel.XlDVAlertStyle.xlValidAlertStop, Operator:=Microsoft.Office.Interop.Excel.XlFormatConditionOperator.xlBetween, Formula1:=[COLOR="Red"]"Construct,Testing,Review,Look Ahead Meetings,Process Audit,Process Improvement,Project Monitoring and control,Project Planning,Project Setup,Project Team Management,RCA Activities,Re-Estimation,Review,Review-Rework,Senior Management Reviews, Testing,Testing Rework,Training, Work Product Audit"[/COLOR]) End With But i can able … Software Development microsoft-office vb.net | |
hi , I have a "C" test application which gives the test results in the plain text format. The contents of the test results for each of the test case will be as below. Summary ===================================== Test case id : atc-add-001 Test description: addition of numbers Test result : pass … Software Development first-post python ![]() | |
Hello, I am trying to generate word frequencies using ngrams. I have taken the brown corpus from nltk and changed it for use with ngram calculations by adding <s> and </s> at the beginning and end (in place of period.) I need to try and calculate the frequencies from this … Software Development python | |
I have been searching and having no luck...So anyway, what I need is a way to copy tab1's controls or items (like textboxes,datagridview etc) and then have them pasted into a new tab. This would be done through a "New Tab" button. When that button is pressed, a new tab … Software Development vb.net | |
Can I append a list obtained from a Class as output outside the class , if Yes how ?? can i use userList for this purpose ? Software Development python | |
I want to align two text in same line first text should be in left side another one should be in right side of java swing textpane. so I have using style interface and Styleconstants class to align text but it couldn't worked. I have applied some other styles on … Software Development java java-swing | |
code snippet: void checkcollision() { float x1 = tanks[0].x; float y1 = tanks[0].y; float x2 = tanks[1].x; float y2 = tanks[1].y; float dist = sqrt((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2)); float dr = tanks[0].rad+tanks[1].rad; if(dist<dr); { printf("checkcollision read true\n"); printf("dist: %f, radius+radius: %f\n",dist,dr); goback(0); goback(1); } } output: checkcollision read true dist:363.159302, radius+radius:14.142136 … Software Development c | |
You are asked to write a program that manages a company's stock. To manage the stock the program need to keep track of item information, prices and quantities. A user should be able to adjust these values on selected items, draw reports and perform certain functions over all the data. … Software Development c++ | |
I use following codes in my project. Dim cnCheck As ADODB.Connection Set cnCheck = New ADODB.Connection Dim rsCheck As ADODB.Recordset Set rsCheck = New ADODB.Recordset cnCheck.Open "provider = microsoft.jet.oledb.4.0;persist security info=false;data source = " & App.Path & "\MyDatabaseNameHere.mdb" cnCheck.CursorLocation = adUseClient rsCheck.Open "SELECT * FROM yourtablenamehere WHERE id=" & txtid.text … Software Development open-source visual-basic | |
Hi, I have a counter that I am using in my main and increasing through pointers in other functions. I want to be able to use the value of this counter in a loop but... I can't. I am getting a warning when I compile saying that I am trying … Software Development c | |
` LONG APIENTRY Esl_CheckCMTClassRecord(struct CMT_Class_Record *ClassRecord, long *ret) { USHORT uResult; SHORT retcode; uResult = bt3Start(Class.CMT_fd,Class.CMT_data); if(uResult == CLASS_RECORDLENGTH ) { memcpy(Class.CMT_data, ClassRecord , CLASS_RECORDLENGTH); retcode = bt3FindRel(Class.CMT_fd, Class.CMT_data, FR_EQUAL); // Read CMT record if(retcode > 0) // read successful { *ret = 1; return(0); } else { *ret = … Software Development c | |
#include<stdio.h> #include<stdlib.h> int main() { int **a,r,c,i,j,; printf("\n enter the size of row"); scanf("%d",&r); printf("\n Enter the size of col"); scanf("%d",&c); //allocating memory a = (int**)malloc (r*sizeof(int*)); for(i = 0;i<r;i++) a[i] = (int*)malloc(c*sizeof(int)); //array elements for(i = 0;i<r;i++) for(j = 0j<c;j++) scanf("%d",&a[i][j]); -------- --------- how to fill the array with … Software Development c | |
Hello friends, I have created three JComboBoxes. first two of them get list from string. However I select these two comboboxes, the third combobox automatically retrieve data of a particular column from my database. But in my code its only get data from first item which automatically seleted by setmodel … Software Development java java-swing | |
Hi, My query is: On clicking the button i get a form where i can enter the text in text fields namely, HEADER, NOTES and FOOTER. The entered data is saved. But when i open the fresh form, the previously enterd data will be displayed. Could you please help me … Software Development visual-basic |
The End.