199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Evan M

I have a vector array of a class that's giving me some crap. I would beat it up, but that might result in some innocent circuits getting damaged. Class: [code=c++]class Font { public: Font(); ~Font(); int style; int ptSize; std::string name; TTF_Font *font; }; Font::Font() { style = TTF_STYLE_NORMAL; ptSize …

Member Avatar for Evan M
0
102
Member Avatar for tkmc

Hi all, I have been racking my brain today, trying to get a page to run 2 queries. Basically i have a page that has a form on it and there is a bunch of numbers in one of the drop down lists that comes from a table called cab_eticket_numbers …

Member Avatar for HazardTW
0
2K
Member Avatar for werks

Hi guyz, i have a question about crystal report . How to connect the Crystal Report in MS Access (w/ a password security).. Cause i can't seem to connect it with a password database..tnx in advance

Member Avatar for sganandhsg
0
95
Member Avatar for sganandhsg

Hi Friends, i`ll use font end VB6.0 back end Ms Access And using Crystal Report 8.5 i ll attached database to report and result also fine, but suppose change my application path to another path reports can`t displayed. so i need how to apply for database application path in to …

Member Avatar for sganandhsg
0
148
Member Avatar for K.Vanlalliana

In my VB6 Book, in the last chapter programming ASP for web design is written and, it seem that is to be done through VB6, but I dont under stand and I usually write ASP code using FrontPage? If VB is helpful (Even though understanding of VB coding is helpful) …

Member Avatar for K.Vanlalliana
0
154
Member Avatar for man5237
Member Avatar for eggi
0
265
Member Avatar for zarf

Hi all i am a newbie in C++, i am currently doing my FYP and i need some help on it. I am using visual C++ version 6.0. Firstly, i have 2 machines A ( the client ) and B ( the server ), A is supposed to send a …

Member Avatar for zarf
0
117
Member Avatar for mississippi_mam

Hello, I am a student in an independent study class and i am working in vb.NET 2005 trying to create a form that has 3 list boxes and combo boxes that the user can select a package from and see the features that come with that package. The problem that …

Member Avatar for mississippi_mam
0
102
Member Avatar for adrian116

1. const int* a; (what the difference between const int *a and why pointer need to be const?) 2. short b[10]; (is the content of b are all short type?) 3. float* const c[]; (i think this should be wrong due to the size of array c is not assigned) …

Member Avatar for adrian116
0
105
Member Avatar for Alohavik

I need to implement a project on Computer-aided learning, and I would like some advice in which programming/scripting languages to implemented with. And which featues to add and how. And also need help in how to get started, what to do firstly so I get the project running. I was …

Member Avatar for shrughes
0
133
Member Avatar for JackDurden

How do I insert a character into a number array? Is it possible? a and b are constants. [CODE]for(int i = 0; i <n; i++) { pointer[i] = new int[n]; } for(int i=0;i<n;i++) { for(int j=0;j<n;j++) { pointer[i][j]=1;/ pointer[a][b]="*"; //<---- } }[/CODE]

Member Avatar for rhoit
0
98
Member Avatar for Demonisya

Hello....everyone I want to ask you for your advice on what problem I'm gonna do.... So my teacher grouped us and make a program that we ourselves would make.... we can do that but what kind of program do we have to make, any suggestions???? My teacher said that the …

Member Avatar for Demonisya
0
103
Member Avatar for core2d

I have this problem that states that: LL be a doubly linked list that has 2 headers L and R. Each record has: llink, data, and rlink as field. So llink is the prev pointer and rlink is the next pointer. Here is the code to reverse the list, but …

Member Avatar for rhoit
0
98
Member Avatar for Randomppl

i wanna noe how to write a code that will read lines from a file and then put those lines into an array. and will this make a double of arrayB if arrayA is empty and arrayB is filled? arrayA[10]=arrayB[10] help of any kind will be greatly appreciated!

Member Avatar for Randomppl
0
71
Member Avatar for clem_c_rock

Hello, I'm trying to get the backbone of a rails project up and running on localhost and also on a rails playground hosted site. On localhost the app runs great and I can call my say/hello w/ either: [url]http://localhost:3000/controller/say/hello[/url] or [url]http://localhost:3000/say/hello[/url], but when I try this on my rails playground …

Member Avatar for clem_c_rock
0
128
Member Avatar for rhoit

I create the simple template structure like this [CODE] #include <iostream> template <class info> struct box { info data; }; int main() { box<int> b1; b1.data = 1; std::cout<<b1.data; return 0;typedef box square; } [/CODE] Now i want to use the typedef for this template structure. I could not figure …

Member Avatar for rhoit
0
2K
Member Avatar for gregorynoob

okay, this is the problem (variation of the knapsack coins problem): you've got 4 coin types: 1 cent, 2 cents, 5 cents and a quarter...infinite amount of each. I'm supposed to find the number of ways in which the coins can be arranged to form the sum of some integer …

Member Avatar for VernonDozier
0
393
Member Avatar for FlashCreations

Hello, I am creating a feature for a site, that when you click a button changes specified text to a textbox that lets you edit the text. When the user presses enter, the textbox will dissapear and the text typed will be in it's place. This is so I don't …

Member Avatar for FlashCreations
0
148
Member Avatar for dexter1984

Hi, I'm doing a project regarding converting roman numerals to decimals and vice versa. With some reference from the internet, I was able to come up with one. However, it isn't working very well. Can someone look at my codes and point out what/where's the mistakes? Thanks in advance. [CODE=cpp] …

Member Avatar for dexter1984
0
164
Member Avatar for jencinas69

I have this csv2xml.php file [code] <?php error_reporting(E_ALL ^ E_NOTICE); ini_set("display_errors", true); ini_set('memory_limit', '24M'); function csv2xml($file, $container = 'data') { $r = "<{$container}>\n"; $row = 0; $cols = 0; $titles = array(); $handle = @fopen($file, 'r'); if (!$handle) return $handle; while (($data = fgetcsv($handle, 1000, ',')) !== FALSE) { if …

Member Avatar for jencinas69
0
183
Member Avatar for rapture

Hello. I'm charged with taking a site I helped create in VB.Net 1.1 to C#.Net 2.0 - I'm just starting to research this and wondered if anyone has done it and if you can direct me to some good material . . . I need to add a new module …

Member Avatar for rapture
0
253
Member Avatar for jeffrey16

hlo, can anyone help me.. i want to move my deleted records to another form named archives but i dont know what to do.plzz help

Member Avatar for jireh
0
69
Member Avatar for skyloon

im thinking to learn predictive dialer, quite interesting. got other ways to start? and how to start? got any simple sample code to learn? or tutorial?

Member Avatar for nathonn
0
188
Member Avatar for sandya_vish

Given the following student data (code, number, first name, last name, mark): CSC10208 1 Fred Nurks 50 ISY00245 4 Fred Bassett 75 Write a program to open a file, accept data in the above format using a struct, write the data to the file and then close the file. Your …

Member Avatar for skatamatic
0
93
Member Avatar for dmanw100

I am trying to use sprites, which I made in the form of bitmaps, in my program. Is there a library that will allow me to easily display them? I tried to use OpenGL but my computer will not allow it to initialize. I would simply like to display bitmaps …

Member Avatar for dmanw100
0
102
Member Avatar for kirthica

Hai friends could you help me? In VB if i've connected ms access project through a data control to my form..... and i've added many records to my database... and I've set "yarn no" as my primary key... if later I've to update my stock details... I need to retrieve …

Member Avatar for debasisdas
0
90
Member Avatar for Programmer666

Hello everyone.Sorry if this question seems to be very naive.but i am new to vb.net. I have created single user applications in VB 6.0 and MS-Access.I want to build a system using VB.Net 2005 and Ms-Access which will work over a LAN. Where multiple users will be entering data.Kindly provide …

Member Avatar for Programmer666
0
108
Member Avatar for NinjaLink

I'm new using Visual Basic, so I need help. For example: If I input "14" into the textbox, i want to have a list that will say: 1 2 3 4 5 . . . 14 I have a counter in my program, but I have no clue how to …

Member Avatar for jireh
0
100
Member Avatar for vssp

Hi Friends I am working on symfony project. This is new frame work for me. So Please clarify my doubt. This is looklike community site. user able to create own sub domine. Public site have one login page ex([url]www.sample.com[/url]) individual user have one login page ex ([url]www.vssp.sample.com)[/url]. How to seprate …

Member Avatar for ShawnCplus
0
141
Member Avatar for defychaos

Hi :) I'm doing a programming project with development of an algorithm for a quadratic recursive sequence: (3, 3, 7, 11, 19, 20, 32), but I can't figure out which expression to use. I know it's probably got something to do with the differences of n-1 and n-2 being added …

Member Avatar for Lerner
0
343
Member Avatar for FAZ3

Can someone help me create a function in a linked list program that replaces an element in (I) place with an element a user enters? here is the sudo code I tried to implement but Im kinda lost. this is in my header file -> [icode]typedef int el_t; // el_t …

Member Avatar for stilllearning
0
104
Member Avatar for kurorokhristoff

Hi, im confuse making this program,.. i need a little help from expert here in dream in code so i decided to post it in here,.. Write a program that uses for statements to print the following patterns separately, one below the other. Use for loops to generate the patterns. …

Member Avatar for Lerner
0
2K
Member Avatar for Se7Olutionyg

[code=cplusplus] // grade.cpp // display the letter grade corresponding to an exam // score assuming a noormal scale # include <iostream>; using namespace std; void displayGrade (int score); int main () { int score; displayGrade(); cin.get(); return 0 ; } // get the data void displayGrade cout << " ENTER …

Member Avatar for sidatra79
0
104
Member Avatar for Blackeagle

i'm using NetBeans and i keep getting an error in this code: [CODE=java]package desktopapplication7; import java.awt.*; import javax.swing.JFrame; import javax.swing.JPanel; public class Frame extends JFrame { Container c= getContentPane(); setLayout(new BorderLayout(5,10)); JPanel p= new JPanel(); p.add(new JButton("OK")); // ERROR HERE c.add(p,BorderLayout.Center); // ERROR HERE }[/CODE] on both lines above, it …

Member Avatar for Blackeagle
0
103
Member Avatar for d.shankar

Does JSP support for each statement ?? Actually i need to cycle through each post variable like this in ASP for each tempvarname in request.querystring value1 = request.form(tempvarname) pass=pass&value1 next I am unable to do this JSP... Can somebody help ?

Member Avatar for d.shankar
0
181
Member Avatar for Venom Rush

Hi there I just need some clarification on sessions. If I have $_SESSION['name'] = $_POST['name']; in my php will it $_SESSION['name'] be created numerous times on different pc's? For example: Joe submits a form and $_SESSION['name'] is created with Joe being the value. Then Suzy submits a form and $_SESSION['name'] …

Member Avatar for Venom Rush
0
95
Member Avatar for ShadowOfBlood

I had to write a program that asks the user to guess a number. The program then tells if their guess is too high or too low depending on the difference between their guess and the random number. I finished the program and it works, but my teacher's very picky …

Member Avatar for Narue
0
183
Member Avatar for delbertkay

Hello -- I am taking some excel spreadsheets that are being used to generate some reports and trying to document them as ERD's. It's been about a year since I took a database course and so am rusty on some concepts. I have attached some screenshots of my DFD's and …

Member Avatar for timothybard
0
94
Member Avatar for moerpheus

hi guys, i have problems regarding PHP. I cant connect the php page with mysql database. I have installed everything as far as I know. i have changed the conifiguration files. but still i cant access the database via the pages! im creating a recruitment site(job search) and people should …

Member Avatar for BMX322
0
123
Member Avatar for TheFueley

Hello all, I want to programmatically add users to a distro list in Outlook 2003(server). I haven't been able to find a suitable solution nor have I been able to even determine which language to use. I'm guessing that C# could be used. Anyone know of any examples of this? …

Member Avatar for TheFueley
0
78
Member Avatar for mgn2683

Hi, I have a few questions. First off, I have a recordset where I am selecting the columns name_pre, name_first and name_last. I want to have the name displayed as Mr. John Smith, just combining all 3 columns. The second portion where I am running into problems is displaying the …

Member Avatar for BMX322
0
110
Member Avatar for biggz

i started using c++ a few weeks ago , and i was told to build a program the finds the factorial of a number ... [code] #include <iostream> using namespace std; void main() { int x,fact; cout<<"Enter the number wanted"; cin>>x; for (fact=1; fact<=x ; fact++); { fact = fact …

Member Avatar for sidatra79
0
234
Member Avatar for serkan sendur

Install iis 7 on your vista os.Open up the iis manager from administrative tools. Right click default web site and choose add new application. Give your application(your site) a name(alias) and point to your physical application folder. open up your web project in visual studio. Right click the web project …

Member Avatar for skiabox
0
1K
Member Avatar for nanna

Hi, I writ a program that asks the user to input an integer and according to this integer the program should print astrisks equal to the input integer . The program does not compile ?? i need help fix this problem : import java.util.Scanner; public class Astrisksline { public static …

Member Avatar for javaAddict
0
162
Member Avatar for abelingaw

A program where u have a 10 input number and enbles u to choose wether the output is in asecnding or descending order. Thanks in advance!!

Member Avatar for rati
0
173
Member Avatar for tech_bc

Hi, I am new in jsp. And I want to use web rowset in jsp. How can I use it can any one help me? Thanks

Member Avatar for peter_budo
0
76
Member Avatar for TheKebab

I don't know if this belongs in the programming section, but I'll ask anyway: I've been using VS2008 Pro since I got it for free through the MS Dreamspark student page. I've been using Dev C++ (Which many experienced programmers have given me harsh comments for) before I got it. …

Member Avatar for TheKebab
0
94
Member Avatar for aformoftruth

I have a URL PHP LINKs problem... I'm a newbie and am currently teaching myself php and html...currently using dreamweaver and have been able to be pretty lazy with regards to learing code but now am using php...and got to type it in myslef....its good for me. But i have …

Member Avatar for cwarn23
0
110
Member Avatar for unk45

alright..so i have to create an overloaded func where i replace O with E in str and replace world with jack in str and print from main using pointers to pass my strings to the func(needs to adhere to the mentioned)...need help ASAP ppllzz.. thnx [code] #include <iostream> using namespace …

Member Avatar for rati
0
126
Member Avatar for stilldancin12

ok, yes this is a homework help question, and no i don't want just the answer. i actually really want to learn this. Ok, so I have to the simple date format that displays today's date in "week day month day, year) so here is what i got: import java.text.*; …

Member Avatar for javaAddict
0
136

The End.