64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for trantran

This is a frustating problem likely experienced by everyone and therefore there (might) be now a "perfect" solution, but my limited skills have impeded me from finding it. 1) I created a plain vanilla text_class that automatically relocates itself when needed. 2) I want to use my text_class with Win32 …

Member Avatar for mike_2000_17
0
101
Member Avatar for trantran

It seems easy to make sure that an object can only be created on the stack and not on the heap (by simply marking private operator new), but is it possible to do the opposite: only permitting the creation of an object on the heap (with operator new) and *not* …

Member Avatar for mike_2000_17
0
166
Member Avatar for BobTheLob

Hey, so I'm having some difficulty getting my make file to work. When I try to make, I get this: [CODE]andrew@Samantha ~/Documents/OS_Projects/Chapter 6 $ ls Makefile Makefile_old semaphore.c andrew@Samantha ~/Documents/OS_Projects/Chapter 6 $ make make -C /lib/modules/2.6.38-8-generic/build SUBDIRS=/home/andrew/Documents/OS_Projects/Chapter 6 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic' make[1]: *** No rule to make target …

Member Avatar for BobTheLob
0
173
Member Avatar for sofia85

Hi, I'm a beginner at python and I'm trying to extract a specific column from a txt file. In the file I want to extract the entire column pph2_prob (i.e. column 16). But I want to get all the values from that column without the headline pph2_prob. How do I …

Member Avatar for JoshuaBurleson
0
4K
Member Avatar for Dmennite

Using: MS Access 2010 Visual Studio 2010 with Provider=Microsoft.ACE.OLEDB.12.0 Connection I have tried multiple ways to do this fought through Concurrency issues current code gives no errors however when I re Fill DataSet nothing has been removed from database... Current code for Button1(reload data), Button2(delete row): [CODE] Private Sub Button1_Click(ByVal …

Member Avatar for Dmennite
0
1K
Member Avatar for 54uydf

Hello, I think I made a mistake while connecting my tables with foreign keys :S here's the DB- table 1: [U]Id[/U],[U] year[/U],..... (2 Primary keys) table 2: [U]tbl2Id[/U], ... now the table that connects tbl1 and 2 with m..m relation- table 3: [U]Id[/U],[U] year[/U],[U]tbl2Id[/U] I set the foregn keys for …

Member Avatar for smantscheff
0
144
Member Avatar for Onlineshade

I have installed JDK 7. Is it possible to write code in JDK without Netbean IDE ?

Member Avatar for Onlineshade
0
291
Member Avatar for davy_yg

product_category.php I am writting the following codes. I would like in the input name Kategori value <?php $kategori; ?> to pull data from nama_kategori in kategori table (in phpmyadmin) whenever I press EDIT. But this is not the case, whenever I press Edit the Kategori box value remains empty. Why …

Member Avatar for davy_yg
0
100
Member Avatar for jpknoob

Hello, i am trying to write a bit of script that will add a delivery cost based on the country code which is provided from a form. Everything works, except my last else statement. As an example, i am trying to make the delivery 1.15 if the country code is …

Member Avatar for jpknoob
0
153
Member Avatar for 07-0466

Hey, What is the fastest way to learn C#?? I need to clean out some source code with bugs... Help needed urgently! Thanx.

Member Avatar for 07-0466
0
117
Member Avatar for inagumi

Hi, i have a problem in displaying the added value of two numbers. I know how to convert the input number into decimal. So after converting it, i added those value and got it stored in a register. My problem is how can I display if the sum is like …

Member Avatar for inagumi
0
255
Member Avatar for rpv_sen

I am facing problem on sum of dynamic array value. For example : [B]tablename : totalamt[/B] ref_no | Amount 1 | 58 2 | 12 3 | 11 i am using check box to select the ref_no. now i am selecting 3 check box now and submit it. Now it …

Member Avatar for diafol
0
195
Member Avatar for Zssffssz

Ok in Code blocks I was commenting my code instuff and since I have a computer running xp when it is bult for winNT or win95 and a compaqu keyboard I have many tyPos, freezes, pieces of curcutry on my driveway under my window I accsedentaly typed three / in …

Member Avatar for thines01
0
203
Member Avatar for violette

hi all. below is my code. what i want is the financial_year_end to return only year instead of yyyy-mm-dd format. can anyone show me how can i do that? many thanks in return :) [CODE]SELECT a.stock_code, a.financial_year_end, current_name, board_name, sector_name, sub_sector_name, e.year_id, (receivable*365/revenue) AS "totaldso" FROM qiddb.company_info a LEFT JOIN …

Member Avatar for violette
0
106
Member Avatar for Ravic85

So, I've got my program up and running, and everything is great except my problem is I can't figure out why my output for my original balance and my output for my new balance are the same and it won't do my calculation Here is my header [CODE] #ifndef SavingsAccount_H …

Member Avatar for Ravic85
0
171
Member Avatar for davy_yg

input_berita_static.php [CODE] $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $isiBerita = isset($_POST['isiBerita']) ? $_POST['isiBerita'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; //Load berita if (!empty($_REQUEST['id'])){ $result = mysql_query("SELECT * FROM static_page WHERE id =".$_REQUEST['id']) …

Member Avatar for cwarn23
0
297
Member Avatar for educated_fool

Hello, dear All I have the following problem: i have a .net (C#) app and a Windows Installer project to deploy it. Now i want this Installer project be able not just to install the app onto a 'bare' client machine, but also to check if some previous version of …

Member Avatar for narin143
0
965
Member Avatar for ynwa

Hi, My code is organized in the following way projectFolder/source/all .java files and projectFolder/classes/all .class files The class path is set to project/classes Now when i compile my Main.java class from source folder, a Main.class is generated in classes folder. Now when i try to run the program using java …

Member Avatar for ynwa
0
230
Member Avatar for Tourbillion

I am trying to do this simple encoding program for class. It is supposed to encode it using the ASCII chart and some slight modding of the number. Then it should be written to a file 'encryptedmessage.txt' for later reading by a decoder later. My issue is I dont know …

Member Avatar for TrustyTony
0
265
Member Avatar for wimmer

I am a newbie with php and was hoping someone can help me out. I am creating my first dynamic site in php and have gotten stuck. I have one page with 100's of links. I need all these links to load the same page but I need the server …

Member Avatar for wimmer
0
327
Member Avatar for Zvjezdan23

Good evening all. I have a quick quick problem in my code. The build is successful but my debug shows up the errors: First-chance exception at 0x013c43e6 in week2_project1_gamephysics.exe: 0xC0000005: Access violation writing location 0xcccccccc. Unhandled exception at 0x013c43e6 in week2_project1_gamephysics.exe: 0xC0000005: Access violation writing location 0xcccccccc. The program '[9888] …

Member Avatar for mrnutty
0
329
Member Avatar for Joshua Kidd

Hello, I want to do something with my link. And by this I mean. I want to do this: [url]www.example.com/mypage.php?id=10000[/url] But is there a way to do that samething but display it like [url]www.example.com/10000[/url] or [url]www.example.com/mypage.php/10000[/url] ?? Would this have to be done through a .htaccess file?

Member Avatar for Joshua Kidd
0
141
Member Avatar for niño_morata

hi.! Im niño morata. Can you plz solve my problem. I have a assignment datagrid search.. when I click search command botton to my program...there is problem, but when I try to click a search command botton again the msgbox say that "no record found" [ code of search command …

0
57
Member Avatar for tuquoise

So I need to write a program that will approximate PHI (the golden ratio) using Fibonacci Numbers. It has to be within a negative power of 10 (between -1 and -16) oh PHI. So for example, if I put -2 into the input, the approximation of PHI would have to …

Member Avatar for tuquoise
0
417
Member Avatar for Nathan_11

i have code using method yet i could not make it work.. Can someone help me.. Thank you. package scsiaug10; import java.io.*; public class Main { public static void main(String args[])throws IOException{ BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter a Word:"); String s = read.readLine(); char c[] = new char[s.length()]; …

Member Avatar for Nathan_11
0
136
Member Avatar for sergent

I don't get why ISO don't include VLAs in C++ standard. C++ is supposed to be a C extension, and C99 clearly supports VLAs. It is not hard to implement and does not break any existing C++ code. It is useful for beginners, who do not yet know pointers, and …

Member Avatar for mike_2000_17
0
220
Member Avatar for gumbum8

Hello daniweb! Yes, I'm another amateur coder who needs a little assistance getting some code to work, I hope it's alright :?: A little background is necessary I suppose, so the deal is I'm a self taught noob who's working on a pet project of crafting a little program that …

Member Avatar for gumbum8
0
189
Member Avatar for DragoDraco

Here is the code I have so far and when I compile it I get errors import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class Bible2a { public static void main ( String [] args )throws FileNotFoundException { Scanner dataFile=new Scanner(new File("test.txt")); /*int colonPosition = verse.indexOf(':');*/ while(dataFile.hasNextLine()) { String verse = …

Member Avatar for DragoDraco
0
153
Member Avatar for cheiL

I'd like to take values between a date range and enter into a table I have a date range @startdate and @enddate i'd like my user to enter the date range and then for the system to take the date range entered and insert them into a table, however, my …

Member Avatar for cheiL
0
124
Member Avatar for ntrncx

i do an exercise and i have 2 questions. the exercise is to take an array example from my c++ book and make it template. for start my code is this: [CODE]#include <iostream> #include <iomanip> #include <cstdlib> #ifndef ARRAY_H #define ARRAY_H using namespace std; template<typename T,int elements> class Array { …

Member Avatar for ntrncx
0
157
Member Avatar for minimi

This is what I have so far. I have to create array of 10 int values as local variable then iterate through the array elements using pointer, print address, and value of the each item. But this is my output. It should print values from 0 to 10, but mine …

Member Avatar for gerard4143
0
136
Member Avatar for s_r_k
Member Avatar for Stefano Mtangoo

Hi, Is there a way I can access the Exchange Mails/Calendars/Addressbook without .NET or non cross platform thing? I want to access them with C++ but on both MS and Linux I was looking at EWS but it seems it is tied to MS and .NET Please share with me …

Member Avatar for Stefano Mtangoo
0
172
Member Avatar for Onlineshade
Member Avatar for Taywin
0
78
Member Avatar for AWorkTool

I am trying to write a program where a user of my app can change the link location and label name. Is this feasible? At work we have testing scenarios that change at different locations, and instead of me sending updates every week, allow the user to update the link …

Member Avatar for NetJunkie
0
189
Member Avatar for Jsplinter

Any idea why declaring a const int inside a data member of a class would cause error C2582: 'operator =' function is unavailable in 'CMyClass'? There is a lot going on in CMyClass and I don't know where to start looking for the error. I am using the default operator= …

Member Avatar for mike_2000_17
0
599
Member Avatar for Student no.1

Hey all im a beginner in c++. Ive written this programme and ive tried to make a calculator using switch statement but its not working like it should.I would be very thankful if u point out whats wrong with it. [CODE]#include<iostream.h> #include<conio.h> void main() { clrscr(); float x,y; int choice; …

Member Avatar for Student no.1
0
278
Member Avatar for virendra_sharma

What happens if you inherit multiple interfaces and they have conflicting method names? [CODE]using System; namespace WindowsApplication1 { public interface a { void b(); } public interface c { void b(); } public class Class1:a,c { public Class1() { // // TODO: Add constructor logic here // } #region a …

Member Avatar for gerard4143
0
157
Member Avatar for Zssffssz

Ok I was reading a book on C++09 and saw this vareable auto that determins what kind of vareable it is. When I try to use it this comes up : "auto will change c++x09 plesase remove it" I did the settings stuff and know I have 09 but how …

Member Avatar for Narue
0
186
Member Avatar for maxelcat

Hi All I am sure this is easy, but I can't make it work I have two variable $sectionID and $categoryID. There are a whole pile of conditions that these could have but I want to pick out two: when $sectionID==4 and $catergory!=21 and $category is !=27 How do I …

Member Avatar for maxelcat
0
98
Member Avatar for sunn shine

im studying recursive algos... teacher gave us assignment to write a recursive algo for the tower of honai............. what is TOWER OF HONAI????? :'(

Member Avatar for Fbody
0
149
Member Avatar for jogesh_p

hi i am not clear with the socket connection in php, because before starting a new topic i want to clear with the experts(you all guys), why we use socket connection??

Member Avatar for jogesh_p
0
133
Member Avatar for Sharukh

My doubt is that is it possible to create incrementing bill no. such as ABC00,ABC01,ABC02,ABC03,ABC04... etc. in ascending list I already know how to increment with numerical numbers like 0,1,2,3,4,...in ascending list I tried concatenation of numerical part with string part.But it works only once;further run leads to error because …

Member Avatar for Sharukh
0
396
Member Avatar for vijaykavin10

[code]import java.awt.*; import java.applet.*; import java.awt.Event; import java.awt.event.ActionListener; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; //private Connection connection=null; //private Statement st=null; //private ResultSet rs=null; public class Example extends Applet implements ActionListener,Connection { public void init() { Connection con=null; Statement st=null; ResultSet rs=null; String qa="insert into demo1 values(' ',' ',' …

Member Avatar for peter_budo
0
408
Member Avatar for dwiniers

Hello there Good Day! I need your expertise in VB6 i have an assignment we made a small program with search button with combobox. I have a code with almost working. My problem is i want my search button enter any fiels to search with the combo box list. I …

Member Avatar for dwiniers
0
241
Member Avatar for BlurrieBlue

Good day. I'm new here and I'm nt sure this post should belong in here or not. I had done my programming on the virtual machine while having mysql database set up in my PC. I was unable to get the data from my PC unless I installed another database …

Member Avatar for BlurrieBlue
0
753
Member Avatar for Khodz

Hello All I'm not quite sure you can do this but it seems to me like something python is probably able to do. Basically, I need to assert that somewhere in my list of lists i have a '2', and a '1'. Now my lists in the biglist are all …

Member Avatar for Khodz
0
3K
Member Avatar for aecha

Hi.. I have problem with my system which is the bar code image cannot been display after the bar code generate from the database. can anyone show me the correct way to call the data from database to generate and display in my system? when user click view card in …

Member Avatar for rpv_sen
0
2K
Member Avatar for JoshuaBurleson

Does anybody know how to clear all widgets; labels, buttons, etc. from a tkinter frame so that new ones may be put in their place? I've tried self.destroy() but that makes the frame unreachable, and self.grid_forget() followed by, "and without" self.grid() neither of these work, at least not as expected. …

Member Avatar for JoshuaBurleson
0
30K
Member Avatar for Asotop

Hey! I'm currently writing a program which converts a number from binary to int. That part is done, but I'm now trying to check wheither the input string only consists of 1 and 0. This is what I've tried so far, but it doesnt work the way I want. [CODE] …

Member Avatar for arunkumars
0
194

The End.