199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for n.aggel

hi, i want to binary write the fields of class to a file.Mainly i want to serialize only the public fields not the private ones or the functions.... [code] class a { public: int a; int b; protected: void function1(); void function2(); private: int c } [/code]

Member Avatar for Ancient Dragon
0
83
Member Avatar for jcisml

Hi, I have a webpage that displays different info at different times of day, it worked fine until i put flash on my page, i used tutorial on how to remove "click to activate" in updated IE. here: [URL]http://www.gerozahn.de/click-workaround/[/URL] then I tried to use my code to display different info …

Member Avatar for jblacdao
0
124
Member Avatar for Lost in Code...

I have a school problem, I'm not going to try and hide it. This is for Oracle9i: SQL class. The question we have to write a code for is: Create a list of customers that will display the characters 'NOT REFERRED' if the customer was not referred by another customer. …

Member Avatar for nikkiH
0
300
Member Avatar for niceliang84

im newbees in doing C++ program, now i face a problem where i need to open more than one ".dat" file in a single program. the coding that i use is... ifstream input; input.open("Luc.dat"); if (input.fail()) { cout<<"Unable to open a file \n"; exit(1); }//end if while(input>>keyword>>index2) {//write to Alphabet …

Member Avatar for Ancient Dragon
0
148
Member Avatar for nloding

Here's how I call this code ... it's my wrapper for Ajax: [code] var ajax = new XMLHttp(); ajax.get('myscript.php?variable=value'); [/code] When I run that, I get the error in Firefox's Error Console that ajax.get is not a function. So I've checked this code ten times and I see nothing wrong. …

Member Avatar for nloding
0
113
Member Avatar for RisTar

hi , im pretty new to computer science and alose to this community . i have a problem that im trying to solve and hope you guys can help me with it . im trying to create my own version of the function "atoi" that can be found in stdlib …

Member Avatar for RisTar
0
251
Member Avatar for sravani

Hi, I am trying to install oracle 10g ODBC driver in my comp. When I downloaded the oracle10.2.0 version into my comp n unzipped tht exe file.According to readme.txt file in that i should run "product.jar" file in the filelocation .but i could not get that.it consists of only products.xml …

Member Avatar for sravani
0
108
Member Avatar for Beshur

Hi! Sorry, if something like this was published, but I still have a question. I'm not a C developer at all, so may it's not a correct place for the topic, but... I have many MP3s without any ID3 tags, but I would like to add some. All of the …

Member Avatar for Beshur
0
95
Member Avatar for SamY

I need help as to how 2 change machine codes 2 binaries or hex like mov to mayb 101011111, yeah, u know like own compiler

Member Avatar for SamY
0
153
Member Avatar for avik1983

i have a simple text file as input.i have to print that file in paragraph format.whenevr it finds "\n" in the input text it should start printing in next paragraph in output file.also a fixed amount of space should be given before start writing in every paragraph. the input and …

Member Avatar for avik1983
0
226
Member Avatar for ob5cured

i want to code an pop3 email webmail that i can fetch pop email from the diffrent accounts

Member Avatar for sinkrideutan
0
89
Member Avatar for Hellodear

Hi, I'm a newb of ASP Server side development area. I've just installed SQL server 2000 to my computer. I think it is for database design. Can anybody clarify how is it work, how is it possible to design? I'm well aware with HTML, CSS, ASP, Java applets etc. Hope …

Member Avatar for stymiee
0
110
Member Avatar for atilla

I am encountering some problems in turboC v2.01....whenever I compile a prog. and error says that " the compiler is unable to include the library stdio.h and math.h" Please help!!

Member Avatar for goutham_see
0
444
Member Avatar for himanjim
Member Avatar for GreenDay2001
0
75
Member Avatar for superhuman

[B]Parser Error Message: [/B]It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. [B]Source Error:[/B] Line 44: by Microsoft that offers a single logon and core profile services for …

Member Avatar for superhuman
0
99
Member Avatar for jobra

Hi all, I am trying to use the class as a vector and pass parameters to the class. In loop.run(), I do certain things, then I would like to delete all the elements of the class. [code] 1 class SampleMarketDataClient 2 { 3 .... 4 }; 5 int main() 6 …

Member Avatar for John A
0
136
Member Avatar for mr.sweetchuck

Hi I am trying to write a simple J2ME application, (I've only started learning it), and am getting the following error: Unable to create MIDlet null java.lang.NullPointerException at com.sun.midp.midlet.MIDletState.createMIDlet(+29) at com.sun.midp.midlet.Selector.run(+22) I don't know what's wrong. Any suggestions would be greatfully received. My code is as follows: [code] import javax.microedition.midlet.*; …

Member Avatar for vinod_javas
0
808
Member Avatar for bhoom205

Let me know,how can i pick randomly six numbers in between 6 to 49 output like this :23 44 3 11 21 in php only etc..........

Member Avatar for jblacdao
0
222
Member Avatar for tomhughes

Hi all, I'm just learning how to delete records from a test table but I'm having some problems with it. I'm not sure exactly but it looks like it is deleting the last row from the table no matter which record is clicked on. It also appears that it is …

Member Avatar for jblacdao
0
80
Member Avatar for bigben09

Hey i need with this program it works, but i cant figure out how to make it not print out zeros when it is reversed. for example when the user types in 123000 it should print out 321. but my program prints out 000321 what can i do to make …

Member Avatar for John A
0
128
Member Avatar for russian_bear

hello, im new here, first post, so dunno how mush assistance i will get but here goes.[url]http://div0.co.za/psichron/projects/pastebin/results/4A3B6BF41.html[/url] , this is my first day of programming with directx in c++ and im already at a hitch, that code is simply meant to just draw two lines on the screen, obv it …

Member Avatar for russian_bear
0
80
Member Avatar for Prajijithesh

I need a help. Online projects written in servlet only or any other language unsing me. Me doing a project but its not an online project so i have written this programme in servlet.

Member Avatar for jwenting
0
90
Member Avatar for bigben09

is there a way to tell the program to remove a certain charecter or number from a string with out giving it a position. for example i have a program that asks the user to enter a set of numbers and the program reverses the order of the numbers. so …

Member Avatar for ~s.o.s~
0
274
Member Avatar for Sarah Lee

Hi all, I am trying to bind a grid(in webform1.aspx) from my user control. The purpose is that, I have some cotrols in my usercontrols, and as the control's value changes, i have to rebind. So, is there any possiblity to bind the grid(which is in say webform1.aspx) from my …

Member Avatar for nikkiH
0
116
Member Avatar for pravly

Hi everybody, I am facing problem in javascript. I got javascript code for desiging a input form. That code is saved as test.html file. My Doubt is: 1) How do i use in my mainpage.aspx? PLz its very urgent. Thank you all

Member Avatar for nikkiH
0
224
Member Avatar for Hellodear

Hi, How can i add a google search bar to my web page? hope somebody can help me!!!! Anish Varghese Mahatma Gandhi Colony

Member Avatar for nikkiH
0
124
Member Avatar for R.S.Chourasia

Hi, I am using SWIG to generate the wrapper for python i.e. I am tring to correlate the c++ and python2.4. I am using the windowsXP platform with Visual Studio 2005 Editor and the Turbo c++ complier. The problem is that after Generating the c++ file and the python file …

Member Avatar for bumsfeld
0
127
Member Avatar for ekeyte

Hello, I am a novice Access 2002 user and I'd like to delete all rows where the "category" fields says "buyer" as I do not need this information in my Real Estate database. For example, I tried setting a query in SQL view with these parameters: [code] DELETE FROM [dbRealEstate] …

Member Avatar for TJ Bowers
0
119
Member Avatar for superlox3

I don't understand strings at all. I looked at the tutorial but I still don't get it... Is there any tutorial that can be easily followed for inputting strings (no skimmers)? -Superlox3

Member Avatar for Lazaro Claiborn
0
114
Member Avatar for donaldunca

I have a question: I have a file named "data.inp". This file have numbers: 6 3 5 4 5 2 5 3 1 5 8 7 9 2 5 6 3 5 8 4 6 If I want more line of numbers, I will add numbers. But I don't know …

Member Avatar for donaldunca
0
231
Member Avatar for wparker

hi, i'm using c++ in cygwin environment under win32 .my classes use the xercesc c++ libraries which i have built with cygwin on windows. my c++ source code compiles into .o files but the linker just wont work. my LIB env. variable is set to /cygdrive/c/lib , lib directory exists …

Member Avatar for Lazaro Claiborn
0
320
Member Avatar for n.aggel

[code] enum MenuOptionInitial { TEST_ONE = 1, TEST_TWO, TEST_THREE}; switch(selection) { case TEST_ONE: //.... case TEST_TWO: //.... case TEST_THREE: //.... } [/code] the problem is that i want to have another selection base on other options [code] i.e. enum MenuSecond { TEST2_ONE = 1, TEST2_TWO, TEST2_THREE}; switch(another_selection) { case TEST2_ONE: …

Member Avatar for n.aggel
0
324
Member Avatar for mr.sweetchuck

Hi, I am writing a little GUI application and I want to set them up, so that they have a Windows look and feel. So far I can't seem to find anything workable.

Member Avatar for mr.sweetchuck
0
93
Member Avatar for vaniprahalathan

hi, i dont know how to disable the maximise and minimise button in title bar.....so please give me the idea for that......... regards, vani

Member Avatar for vaniprahalathan
0
69
Member Avatar for peter_budo

yay this first time that I develop something larger ;) My problem: main method display a frame with buttons where you choose what function/action you want to perform. Once you press a button I want the main window become invisible and windows with option for function to become visible. So …

Member Avatar for peter_budo
0
118
Member Avatar for engr_shoaibsafi

hi i m a final year student of computer systems engg, i have selected wireless information sharing systems as my final year project, i want 2 bulid an apllication like sql2gsm ,to accsess databas through sms,any body hav any idea, i wll appreciate it

Member Avatar for engr_shoaibsafi
0
299
Member Avatar for g.prabu
Member Avatar for Monyet

How do you do this? I can assign each random values into arrays, but I cannot increment the value so that I can display each values with another for loops. It needs to be 5 to the right.. [code=java] import java.util.Scanner; import java.util.Random; public class LabAssgn_laksmono { public static void …

Member Avatar for MacGyver Orca
0
135
Member Avatar for sneekula

I know that you can do integer calculation in Python with astronomically large numbers. What is the precision limit when using floats?

Member Avatar for vegaseat
0
165
Member Avatar for cricket2030

Is there any way to adjust the volume per sound when using the sndPlaySound function? I am using an MMControl for background music, and currently using sndPlaySound for all other sounds. The issue I am having is that the sndPlaySound sounds are alot louder the the background. Thanks, Mike

Member Avatar for cricket2030
0
186
Member Avatar for amaravanich

Hi all, I need to create extra rows for already existed table in javascript.I added code as shown below.It works well for mozilla but for ie extra rows are not adding .i didnt find where the problem was.Apart from that i had another problem with checkbox created below.it always returns …

Member Avatar for amaravanich
0
121
Member Avatar for Inny

tried this with css in actuall stylesheet aswell, but i wont work. what have have I done wrong please? [code]<style>pullquote {width: 145px; background:gold; color:black; float: right; border:1px solid maroon; font-weight:bold; line-height:140%; padding:5px; margin-top:10px; margin-left:10px; } </style> <script type="text/javascript"> function addPullquote(){ var myTextArea = document.getElementById("commentBox"); myTextArea.value = myTextArea.value + '[dohtml]<p class='pullquote'> …

Member Avatar for Inny
0
301
Member Avatar for Monyet

each of them have different number that is dependent on the user's input. how to find the smallest number? I usually use math class library in java with min and max method, what to use in C#? Thanx >.< hehe

Member Avatar for JerryShaw
0
110
Member Avatar for live_atl

Consider the two equations p = cos(p), p = sin(p) with solutions 0.7390851332151607 (approximately) and 0 respectively. Implement three programs for the solution of these two equations. (a) Fixed point iteration: pk+1 = g(pk). (b) Fixed point iteration with Aitken acceleration. (c) Steffensen’s acceleration. In each case, begin with p0 …

Member Avatar for Lazaro Claiborn
0
119
Member Avatar for srinath33
Member Avatar for davew23901

Never done this before, but here goes... I write VB6 applications and have had little problem installing them on computers at office sites scattered across the country. Now the IT people are putting the clamps down on "non approved" apps and will not give anyone admin rights to the pcs. …

Member Avatar for mjwest10
0
130
Member Avatar for darkmessenger

hi can anyone help me how to compare user and password from a database like access... for example i have registered a user and password in access then when i input the user to VB and the password it will compare if the user exist and if the password is …

Member Avatar for mjwest10
0
179
Member Avatar for iaaan

Hey, i am trying to do a sort in C++. I have a strucutre of different records such as Quote number, Surname, Total cost and Deliverycost. I am trying to sort in order of Quote Number. Im using a bubble sort to do this: [INLINECODE] for(i = 1; (i <= …

Member Avatar for iaaan
0
172
Member Avatar for Joe689

[COLOR=#0000ff]for[/COLOR][COLOR=#000000] (i = 0; i < length; i++)[/COLOR] { [COLOR=#0000ff]for[/COLOR] (j = 0; j < width; j++) { [COLOR=#0000ff]for[/COLOR] (k = 0; k < height; k++) { interpolated_1D[i* j *height + k] = interpolated_input[i][j][k] ; } } } Doesn't seem to work,,, What am I doing wrong... Everything is allocated …

Member Avatar for Joe689
0
2K
Member Avatar for sneekula

I know you can get the present time this way: [code]import time now = time.asctime(time.localtime()) print now # Mon Feb 19 10:41:32 2007 [/code]How can I make sure that 'now' does not fall on our lunchtime break, let's say 11:30AM to 12:45PM?

Member Avatar for sneekula
0
161

The End.