I have learned basis of Java but wanna practice more. I was looking via Google and couldn't find much beginner level problems that i can solve using Java.
Any suggestions???
<form enctype="multipart/form-data" method="post" action="mailto:[email protected]" accept-charset="UTF-8">
Is there a problem if mails are sent this way .. iwanna avoid using PHP codes..
I'm making a graph script using canvas, i'm adding animation to a chart but i don't like the way that it's look, i use setInterval for X function adding height to a rectangle to make a bar chart for example, but iwanna an animation more fluid, is another way to do an animation?
Hi guys,
I'm trying to work out an app design in my head and I would like the user to be able to click there destination address on the map of there area.
If I know the user is in Liverpool is it possible to pop up the map over liverpool and then allow the user to select on the map where they wanna go, and the google map/api return the street or the name of the area?
I've never used googlemap/api yet so just wondering if this kind of thing is possible on the iphone yet.
Many Thanks
-Code
Hello,
Iwanna count the words and spaces from a Word document and insert then in a header (or footer).. as numbers. I know i can SEE these statistics (from Tools menu), but how can i insert them in a header?
Thanks
$ bc
BC> ibase=2
BC> 110&101 // wanna get 100
(standar_in) 8: syntax error
Wikipedia informs that the ops are "|, & and ^". It may be that they work only in certain BC-types or I misread something.
any web service i can use to store small amounts of data (thinking XML or JSON) for free if possible?
i am thinking iwanna create a small todo app just exploration/learning (so preferably free) that also backups data to the cloud so they can use it on smartphones for example?
G'day friends
i want to justify my text using sIFR, Whe i researched on that, i found that sIFR just have 3 options, textalign=center/left/right. But iwanna know how to justify the text..? is there any way i can use textalign=justify ?
Please help
Kind regards
hi, i am having a dropdown box showing list of roles, i used Roles.GetAllroles() for showin' all roles in dropdown box but i dn't wanna show a role named "Admin" in the dropdown box.
Hi everyone:
I have a question, here are two class below:
class Base{
public:
virtual void toString(); // generic implementation
}
class Derive : public Base{
public:
( virtual ) void toString(); // specific implementation
}
The question is:
If Iwanna subclass of class Derive perform polymophism using a pointer of type Base, is keyword virtual in the bracket necessary?
If the answer is no, what's the difference between member function toString of class Derive with and without virtual?
Hi boys, im newest... I've got a simple question... wich is better? Python or C++? Iwanna study computational science, and i like algorithms and TAD analyses... what do you prefer?
What is the best way to override jre_lib classes?
Let's say I need to store all ArrayLists not in RAM but on disk or anywhere else. Iwanna write my own ArrayList class to code this functionality and make sure that every instantiations of ArrayList use my class.
I thought about class loading mechanism to change order of classpath, but as I see java checks standard classes first.
formbuild's start_with_layout generates this code
<form action="link" method="post"><table>
how do i add id to it? iwanna add some js things that adds elements
Hi
Iwanna check inserted value in excel cell and if value is higher than something(for example 3000)
excel don't accept value(also throw error).
So how can I do this?
Hi everyone! Iwanna know if the developer team wich made the emulator have some information to make bluetooth works in the android emulator, indicate some links about it, if they have some date for release or if they'll make it works in the future.
Thanks.
I have programed an application on windows XP and in Visual Studio with c++ language.
In that app I used LoadResource() API to load a resource for giving a file in the resource memory.
It returned a pointer of memory block and Iwanna cast the pointer to the std stream to use for compatibility.
Could anyone help me?
This is the code I've seen so far to delete last 3 lines in a text file, but it's required to determine string[] lines = File.ReadAllLines(); which is nt necessary for me to do so.
string[] lines = File.ReadAllLines(@"C:\\Users.txt");
StringBuilder sb = new StringBuilder();
int count = lines.Length - 3; // except last 3 lines
for (int s = 0; s < count; s++)
{
sb.AppendLine(lines[s]);
}
The code works well, but I don't wanna re-read the file as I've mentioned the streamreader above :
using (StreamReader r = new StreamReader(@"C:\\Users.txt"))
Im new to C#, as far as I know, after using streamreader, and if Iwanna modify the lines, I have to use this :
while ((line = r.ReadLine()) != null)
{
#sample codes inside the bracket
line = line.Replace("|", "");
line = line.Replace("MY30", "");
line = line.Replace("E", "");
}
So, is there any way to delete the last 3 lines in the file within the "while ((line = r.ReadLine()) != null)" ??
I have to delete lines, replace lines and a few more modications in one shot, so I can't keep opening/reading the same text file again and again to modify the lines. I hope the way I ask is understable for you guys .<
Plz help me, I know the question sounds simple but I've searched so many ways to solve it but failed =(
So far, my code is :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ConsoleApplication11
{
public class Read
{
static void Main(string[] args)
{
string tempFile = Path.GetTempFileName();
using (StreamReader r = new StreamReader(@"C:\\Users\SAP Report.txt"))
{
using (StreamWriter sw = new StreamWrite (@"C:\\Users\output2.txt"))
{
string line;
while ((line = r.ReadLine()) != null)
{
line = line.Replace("|", "");
line = line.Replace("MY30", "");
line = line.Replace("E", "");
line = System.Text.RegularExpressions.Regex.Replace(line, @"\s{2,}", " ");
sw.WriteLine(line);
}
}
}
}
}
}
Now my next task is to delete the last 3 lines in the file after these codes, and I need help on this one.
Thank you.
i saw this phrase in python 2.6 man:
class threading.Thread(group=None, target=None, name=None, args=(), kwargs={})
.
.
.
If the subclass overrides the constructor, it must make sure to invoke the base class constructor (Thread.__init__()) before doing anything else to the thread.
i just wanna know why?
i am a computer science student and have just entered in my final year. iwanna do a project on something new and exciting in the field of networking dbms os or ai.
i am proficient in java c, oracle and am improving my linux skills..
please give me some suggestions for hot topics..
I have the following schema on MySQL 5.1
CREATE TABLE `mytest` (
`category` varchar(32) ,
`item_name` varchar(255)
KEY `key1` (`category`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
category column is filled with like that
[:parent_parent_cat_id][:parent_cat_id][:leaf_cat_id]
"10000200003000"
if you can search all of the under categories :parent_parent_category_id
SELECT * FROM mytest WHERE category LIKE "10000%";
it's using index key1;
but
How to use index when Iwanna search :parent_cat_id?
SELECT * FROM mytest WHERE category LIKE "%20000%";
Do you have a better solutions?