199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MattyRobot

what would be a good way to load images to use for texture mapping in opengl? I have looked at tutorials such as nehe lesson 6 and some other resources but they all use something old and depreciated that I cant compile.

Member Avatar for Sodabread
0
363
Member Avatar for Natique

Hi, I wrote a program where I get a debug assertion failure. I've made it so that if I press ignore, execution continues correctly. The only thing is I don't want to keep pressing ignore, is there a way to make it ignore automatically? Without the message box appearing? I …

Member Avatar for Narue
0
1K
Member Avatar for Ana D.

Hi, In my page I have a checkBoxList and I need to select all items that has an specific word. Let's suppose my CBL is: VB.NET C#.NET Java2SE Java2EE And suppose that I need to select only the items about .NET (the items that cointain the string ".NET"). How can …

Member Avatar for brigzy
0
1K
Member Avatar for NotThereAnymore

I'm working on a project using Lindenmayer systems([url]http://en.wikipedia.org/wiki/L-system[/url]) to simulate the animation of a tree growing. It uses recursion to determine how the branches and leaves of the tree appear. The program uses OpenGL and my programming language is C++. Here's what I've defined my L-System with: derivative length: 10 …

Member Avatar for NotThereAnymore
0
8K
Member Avatar for MWillis09

I am learning vb and one of my projects is to make a price schedule using full day and half day rates as well as adding a deposit, etc. I don't want you to tell me what to do just please what I am missing. I haven't been able to …

Member Avatar for MWillis09
0
160
Member Avatar for kavourdoukos

I have got this class:[CODE]class sample{ private: int number; string adress; public: int get_number(); string get_adress(); sample(); ~sample(); };[/CODE] I allocate dyanmically memory space like this(cause i need an array of pointers to obects):[CODE]sample** samples; samples=new sample*[20]; for(int i=0;i<20;i++){ samples[i]=new sample;}[/CODE] My question is how can i sort this array …

Member Avatar for JasonHippy
0
156
Member Avatar for tzushky

Good morning coders !, I stumbled accross an initialization this morning and even though I get it , it's not 100%. I'll simplify it this way: I have an array declaration: [CODE]uint8_t MyArray[MAX_SIZE][/CODE] I have a linked list structure: [CODE]struct MyLL{ struct MyLL * next; struct MyLL * previous; uint16_t …

Member Avatar for tzushky
0
497
Member Avatar for confusedndazed

Hello all, I have my assignment topic and I know what information I would like to include in my assignment. Can anyone tell me how to put my data into top-down format? Here is what I have thus far: I'm trying to design a program that will input ages of …

Member Avatar for confusedndazed
0
121
Member Avatar for reyarita

Hey guys!! can you share some ideas about this program, i tried but its not working. 1. Write a program that inputs a five-digit integer, separates the integer into its individual digits and prints the digits separated from one another by three spaces each. For example, if the user types …

Member Avatar for reyarita
0
116
Member Avatar for zainhamza

hi, I'll be greatful if someone tell me how to declare the preiority queue in c++ and also tell me the syntax that how we can put a node in a preority queue. Regards Zain

Member Avatar for Narue
0
220
Member Avatar for zobadof

MattyRobot as you may know him, gave me the code to make a new window, but it opens up cmd window too. I would like it so the window opens only. If anyone knows the code, I would be more than happy to find out

Member Avatar for zobadof
0
124
Member Avatar for GizmoPower

Hello everyone! First I want to say that I am really noob at this but I am trying to learn, so please be gentle! :D I am making a application that will allow a user to change certian values of a .ini file, then save it. (Well trying to anyway..) …

Member Avatar for DdoubleD
0
135
Member Avatar for Frederick2

[CODE=C++] /* I'm stuck! Here is what I consider to be a perfectly running program that uses an array ( TArray ) template to hold arrays of objects. Its just about your classic text book example. Its pretty well stripped down to nothing to illustrate my problem. I simply don't …

Member Avatar for Frederick2
0
199
Member Avatar for ejazmusavi

Hi everyone! I have a windows base application in c#(vs 2005). In which i have a crystal report(version: came with visual studio 2005). I want add an image in the report doc which may change dynamically at the runtime. The image path is stored in database(MS Access) as string. How …

Member Avatar for DdoubleD
0
1K
Member Avatar for pankaj.garg

hi, i want to communicate with a slave device (temperature controller) using ModBus with RS 485 using VB6, but dont have knowledge of the same. Can you help me by guiding how to move forward..plz suggest some tutorial..or provide some sample program where data from a remote device has been …

Member Avatar for vb5prgrmr
0
131
Member Avatar for wild_angel

I have a problem when I ran report from vb6. I use Crystal Report 8.5 as reporting tools and MySql as database for my program. When I tried to run the report in Crystal Report, it worked. But when I ran it from vb6, it showed an error: "Server has …

Member Avatar for vb5prgrmr
0
2K
Member Avatar for shine_jose

I wish to test run my newly designed web site from server now its in desktop system please help me.

Member Avatar for djzia
0
97
Member Avatar for bharanidharanit

Hello, I am using Visual web developer 2008. I am using AccessDataSource and i connected access database with that. Now on my login page, i am having 2 text boxes (UserName and Password) and a login button. So when i click login button, those 2 fields must be checked with …

Member Avatar for bharanidharanit
0
75
Member Avatar for kobalt

I'm hoping someone here can help me. I am very new to C# and programming in general and am stuck on the following after researching and trying different solutions for the past 2 weeks! I'm trying to read from an XML file into datagridview. I also want to add extra …

Member Avatar for sknake
0
977
Member Avatar for songweaver

Hey guys, I am new to vb and need some help with this change program. The idea is that we are given a certain amoun of change and then telling how many dollars, quarters, dimes, nickles and pennies. I thought I would convert the decimal to an integer and then …

Member Avatar for Geekitygeek
0
131
Member Avatar for veledrom

Hi, I want to learn ZEND Framework. I have checked the courses and they are very expensize. My question is, if I buy a book for ZEND, do you think i could learn it. I know PHP5 and OOP. I am open for other recomendations. Thanks

Member Avatar for GL.Za
0
66
Member Avatar for sati02

Hi , I am new to c# . I want to develop a simple lan messenger which shud be something like "ip messenger" . where you dont need any seperate server. Please guide me how to acheive this. It shud be a single exe file which on opening shud list …

Member Avatar for sknake
0
193
Member Avatar for lotrsimp12345

Is my understanding of a vector list correct. vector<list<int>>. The vector holds a list of data type int? [CODE] class my_ht_chain { public: //constructor which creates a table of a certain size my_ht_chain(int size); //destructor ~my_ht_chain(); //insert a value based on key void insert(int key); //search for a value based …

Member Avatar for lotrsimp12345
0
96
Member Avatar for RAMAN2233

How to store list item in order of the listitems selected? Ex: Hindi,English,Telugu,Social............ these are items in checkboxlist, now when i select telugu that value should be stored as 1 and then if i select english that value should be stored as 2,so that we can know the order of …

Member Avatar for shibbard
0
75
Member Avatar for halluc1nati0n

I have trouble understanding the compilers. The following code does work in UNIX under g++, but under VC++ it would not even compile. Anyone can provide valid reasons why? [B]Code:[/B] [CODE]#include <stdio.h> #include <iostream> #include <string.h> using namespace std; int main() { string tmp_nw_msg, crc_chksum, buffer; cout << "Enter the …

Member Avatar for Nick Evan
0
260
Member Avatar for nschessnerd

Hi I'm having an issue with curl on windows with php. If i have curl enabled in php and i run php through command line i get an instant cpu spike... php.exe cpu jumps to about 20% then back down. when i disable curl it only jumps to about 2% …

Member Avatar for nschessnerd
0
894
Member Avatar for Ryujin89

I have an program that allows a user to input their employee name and number and then their hourly wage and their total number of regular hours and overtime hours. Then writes out the data to a binary file. The program I need assistance with reads in that file, adds …

Member Avatar for AndreiDMS
0
248
Member Avatar for Kusno

dear all, I created a web user control for date picker with VB.Net language. To use that control, I dragged that file into my forms. Now, I want to put it in ToolBox control... Does anyone know how to do that? What is this code function ? [CODE]<DefaultProperty("PagingText"), ToolboxData("<{0}:PagingTextBox runat=server></{0}:PagingTextBox>")> …

Member Avatar for chandru7
0
109
Member Avatar for 68thorby68

I am posting very simple PHP/mysql as below, to get the hang of creating a DB query, and checking if my syntax, and contruction logic is correct, However when I post the code below: [code] $dbhost = 'localhost'; $dbuser = 'myuser'; $dbpss = 'myassword'; //connect to database// $conn = mysql_connect($dbhost, …

Member Avatar for 68thorby68
0
99
Member Avatar for ayesha789

Hi this is my table structure. I need one result from this. There is a field named LAPeriodStart in this table. If LAPeriodStart date is 2009-01-05 Site Id is 4067 Today Date is 2009-12-07 1. Now I need to calculate LAPeriodStart Month from the date(2009-01-05) How its Possiblle? 2. If …

Member Avatar for ayesha789
0
280
Member Avatar for Nightryno

Hello, I am hoping that somebody can help to provide some guidance on this for me. I am tasked with writing this class for a Java class I'm taking: Write a class encapsulating the concept of coins, assuming that coins have the following attributes: a number of quarters, a number …

Member Avatar for JamesCherrill
0
231
Member Avatar for hackabusa

Hi, I'm having some issues with a maze solver that I'm coding for an assignment. Here's what I have so far: [CODE] def main(): maze = open(raw_input("Please enter the filename of the maze:"),'r') x=0 y=0 with maze as maze_file: maze = [list(line.strip()) for line in maze_file] for i in maze: …

Member Avatar for hackabusa
0
144
Member Avatar for kenwestphal

Hi, I'm been looking online for sometime now and haven't really found anything that helped. Bascially my question is: Is there anything else I need to add to my php.ini file or on my Exchange server to allow me to recieve email since I'm not getting email currently from my …

Member Avatar for pritaeas
0
225
Member Avatar for jrm5f2

Hello, I am trying to post data from one page to another, I keep getting an error message every time I run the code "Object reference not set to an instance of an object.". Please help [CODE] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If …

Member Avatar for Sals
0
101
Member Avatar for anup.maverick

Hello, I am storing an Image name as a value in session variable on Page 1. Now on Page 2, I want to use this session variable value in the <table background="Session Variable Value"> How to achieve this. Thanx for help "You will not be punished for your anger, you …

Member Avatar for Sals
0
90
Member Avatar for stevechow

My program takes numbers from a .txt file then puts it in, so that an array has a "bacteria" in it. The "bacteria" will die if it has 4 or more, or if it has 1 or less. It will live with 2-3 neighbors. If an empty cell has three …

Member Avatar for Nick Evan
0
109
Member Avatar for jayanthsept5
Member Avatar for azdonald
0
162
Member Avatar for grib

Just got back to my interrupted attempt to pick up C++, and I'm already shipwrecked again. Anyway... I'm trying to build another bitty app from my text, but nothing seems to be coming together properly. The program should ask for an array length, send that to an input-handling function, then …

Member Avatar for grib
0
402
Member Avatar for magicalmakx

Problem with storing values in Array from php to AJAX index.php [CODE] <html> <head> <title>Main Page</title> <script language="javascript" type="text/javascript"> function ajaxFunction() { var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function() { if(xmlhttp.readyState==4) { var arr = new Array(xmlhttp.responseText); alert(arr[0]); } } xmlhttp.open("GET","main.php?q="+document.frm.Act.options[document.frm.Act.selectedIndex].value,true); xmlhttp.send(null); } </script> </head> <body> <form name="frm" id="frm" …

Member Avatar for magicalmakx
0
1K
Member Avatar for adams161

I"ve thought i have noticed some strange behavior after compiling. most of the time i compile the class files update with my changes. Now and then i feel i need to delete my class files in the folder and do essentially a rebuild all to make the program start working …

Member Avatar for masijade
0
108
Member Avatar for KevinADC

This is a bare-bones search and replace script that uses perls in-place editor and the File::Find module to get the job done quickly. It will search in all sub directories of the start directory and find and replace the text you specify in the type of file you specify. Keep …

Member Avatar for roswell1329
0
249
Member Avatar for mIssy_ricco

I found a few where they past the item instead of the value. i want the value to be passed. for e.g [CODE]<asp:CheckBoxList ID="cblPlanets" runat="server" Width="109px"> <asp:ListItem Value="1">Mercury</asp:ListItem> <asp:ListItem Value="2">Venus</asp:ListItem> <asp:ListItem Value="3">Earth</asp:ListItem> <asp:ListItem Value="4">Mars</asp:ListItem> <asp:ListItem Value="5">Jupiter</asp:ListItem> <asp:ListItem Value="6">Saturn</asp:ListItem> </asp:CheckBoxList>[/CODE] and i want it to display You selected: 1 2 3 …

Member Avatar for mIssy_ricco
0
114
Member Avatar for merse

It is possible to choose template parameter in runtime? when i try to construct an object wich has template parameter

Member Avatar for mrnutty
0
108
Member Avatar for keyzzz_it

hi!!! im a new member of this organization of the IT's. im a freshmen student ,takig up IMFORMATION TECHNOLOGY and i have a problem regarding how to make a calculator using SWITCH CASE, i've tried to make a program of that using other functions and it made it successfully but …

Member Avatar for xavier666
0
179
Member Avatar for ChelleATL

I am trying to deploy a report to the Reporting Services Server but keep running up against this error: [QUOTE]An error occurred during client rendering. An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'dataSource1'. (rsErrorOpeningConnection) Could not obtain information about Windows NT group/user …

0
147
Member Avatar for charlie221133

hello, I'm a computer science student. I'm starting to get into the more challenging aspects of C++. Where can i find a good website for quickly finding syntax. Say i want to solve a simple problem, but i don't know the exact syntax, where can i quickly find code snippets …

Member Avatar for mrnutty
0
72
Member Avatar for SoulMazer

Okay, well I'm having trouble getting a variable from one place to the other. I have two scripts: for now, let's call them MainScript.py and ChildScript.py. [code=python]#!/usr/bin/python # MainScript.py import ChildScript from Tkinter import * class GetVariable: def __init__(self): master = Tk() master.withdraw() ChildScript.VariableDialog(master) # From right here, I would …

Member Avatar for SoulMazer
0
144
Member Avatar for lotrsimp12345

Do I need a copy constructor? [CODE] #ifndef MY_MIN_PQ_H #define MY_MIN_PQ_H #include <iostream> #include <vector> using namespace std; class my_min_pq { public: //default constructor my_min_pq(); //destructor ~my_min_pq(); //insert element at end of sequence, and rearrange so minimum data at the front of array void enqueue(int data ,int priority); //removes data …

Member Avatar for lotrsimp12345
0
125
Member Avatar for Workingwmyhands

I need help with an online tutorial (this is not homework) [url]http://www.upriss.org.uk/python/session3.html[/url] It is something very simple, but I am a beginner so I don't understand yet. Write a script that asks someone to input their first name, last name and phone number. If the user does not type at …

Member Avatar for SoulMazer
0
163
Member Avatar for andypop

Hello Daniweb, I am working on a program, a basic poker game. I've run into a problem I can't seem to solve for the life of me, after hours of googling I thought I'd ask here. I have a Dealer class that basically controls the back end of the came, …

Member Avatar for BestJewSinceJC
0
3K

The End.