Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
60% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~7K People Reached
Favorite Tags
Member Avatar for aplh_ucsc

if __name__ == "__main__": args = parse_args() install_path = os.getcwd() if os.getuid() != 0 and args.create_user and not args.no_install_prequisites: While compiling the above source code in windows i get this error > module' object has no attribute 'geteuid' windows can any one resolve this.

Member Avatar for Gribouillis
0
4K
Member Avatar for aplh_ucsc

This method read the Database and Returns the Username and Password. tblPassword has only one user name and a password. using (SqlConnection dataConnection = new SqlConnection("Data Source=isukoon-pc\\sqlexpress;Initial Catalog=AdsManager;Integrated Security=True")) using (SqlCommand dataCommand = new SqlCommand("select username from tblPassword", dataConnection)) using (SqlCommand data2Command = new SqlCommand("select password from tblPassword", dataConnection)) { …

Member Avatar for aplh_ucsc
0
234
Member Avatar for aplh_ucsc

I'm using visual studio 2010 and C# and this is the Implementation of a WPF button. IT takes two textbox values and insert them into a database table. i did create a service based database and the did configure it on app.config file. Table has two columns, product id(int) and …

Member Avatar for itzcuinzin
0
463
Member Avatar for aplh_ucsc

this is my code:: <!--school.xml--> <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="school.xsl"?> <UCSC> <student> <name>Isuru ilangakoon</name> <age>21</age> <contct_no>0714234672</contct_no> <degree>computer science</degree> <school>DVharmapala college</school> </student> <student> <name>randika malinga</name> <age>22</age> <contact_no>0713567134</contact_no> <degree>computer science</degree> <school>Nalanda college</school> </student> <student> <name>vinod kawinda</name> <age>22</age> <contct_no>0783451024</contct_no> <degree>computer science</degree> <school>maliyadewa college</school> </student> <student> <name>Inshaf mahatt</name> <age>21</age> <contct_no>0777234151</contct_no> <degree>ICT</degree> <school>D.S.Senanayaka college</school> …

Member Avatar for f-aplh
0
145
Member Avatar for aplh_ucsc

Hi Friends, How do I configure my web cam into Android emulator which i got from android sdk package for eclipse. Plz help me

0
60
Member Avatar for aplh_ucsc

Hi friends I'm a newbie with android sdk. i did configure android sdk r15 and ADT 15 plugin on eclipse. but the android emulator is not working. I did make a virtual device for the android 2.3.3 platform and run few sample i got with android 2.3.3 platform. but i …

Member Avatar for peter_budo
0
116
Member Avatar for aplh_ucsc

Will daniweb add a thread category for Augmented reality. I think it will make a great revolution to daniweb :)

Member Avatar for Narue
0
38
Member Avatar for aplh_ucsc

I do Get errors with combo box selections. here is my combo selection attach to a button. [CODE] def Btn9(self, event): # wxGlade: Appli.<event_handler> if self.combo_box_4.GetValue()=="1": numglobals.frame_12.Show() elif self.combo_box_4.GetValue()=="2": numglobals.frame_13.Show() elif self.combo_box_4.GetValue()=="3": numglobals.frame_14.Show() elif self.combo_box_4.GetValue()=="4": numglobals.frame_15.Show() elif self.combo_box_4.GetValue()=="5": numglobals.frame_16.Show() elif self.combo_box_4.GetValue()=="6": numglobals.frame_17.Show() elif self.combo_box_4.GetValue()=="7": numglobals.frame_18.Show() elif self.combo_box_4.GetValue()=="8": numglobals.frame_19.Show() elif self.combo_box_4.GetValue()=="9": …

Member Avatar for Gribouillis
-1
216
Member Avatar for aplh_ucsc

Can we use "grep" command to recover files in linux without being super user..:confused: Is any other commands to recover files except "isof" comand in linux except grep?:-/

Member Avatar for nonshatter
0
89
Member Avatar for aplh_ucsc

Can u guys help me to find errors of this programme! [CODE] #include<iostream> #include<conio> #include<string> using namespace std; string employeeName; int employeeNumber; double employeeSalary; char employeeType; class Employee{ private: string employeeName; int employeeNumber; double employeeSalary; string employeeType; public: void promotion(){ calc_salary('pr'); } void demotion(){ calc_salary('de'); } void calc_salary(char ch){ float …

Member Avatar for Narue
0
93
Member Avatar for aplh_ucsc

[CODE] //myMalloc.c #include<stdio.h> #include<unistd.h> #include<stdlib.h> void *newMalloc(size_t vol); void newFree(void *adPtr); void save(); void search(); void *findSpace(); void freelist(); static int buf[12500]; void *newMalloc(size_t vol){ // some code } void save(){ // some code } void search(){ // some code } void newFree(void *adPtr){ // some code } void *findSpace(){ …

Member Avatar for aplh_ucsc
1
123
Member Avatar for aplh_ucsc

[CODE] /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status [/CODE] Can anyone guess the reason for this error. It is not displayed as an error. But the programme didn't get compiled.

Member Avatar for gerard4143
0
78
Member Avatar for aplh_ucsc

It,s me having the same problem.. I want to pass some parameters from the main method to some other method. u cannot declare any variable names or pointers. I'm having an array of int with size 12500. if u want any variable or a pointer, use array blocks for it. …

Member Avatar for aplh_ucsc
0
198
Member Avatar for aplh_ucsc

Hi.. I want to get the memory addresses of an array.i'm having a compilation error with this code. [CODE] #include<stdio.h> #include<stdlib.h> #include<unistd.h> int isu[1000]; void dhanu(void *(isu+996), void *(isu+995)); int main(){ *(isu+998)=isu; *(isu+997)=(isu+10); printf("%d\n",*(isu+998)); printf("%d\n",isu); dhanu((isu+998),(isu+997)); } void dhanu(void *(isu+996), void *(isu+995)){ printf("%d \n",(int *)(isu+996)); printf("%d \n",(int *)(isu+995)); [/CODE] error …

Member Avatar for aplh_ucsc
0
108
Member Avatar for aplh_ucsc

[CODE] BITS 16 start: mov ax, 07C0h ; Set up 4K stack space after this bootloader add ax, 288 ; (4096 + 512) / 16 bytes per paragraph mov ss, ax mov sp, 4096 mov ax, 07C0h ; Set data segment to where we're loaded mov ds, ax mov si, …

Member Avatar for Tight_Coder_Ex
0
395
Member Avatar for aplh_ucsc

Hi. I'm new to xml. This is my sample codes. [CODE]<!-- library1.xml --> <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="library.xsl"?> <lib> <book> <name>Modern Operating System</name> <author>Andrew S. Tanenbaum</author> <edition>3rd Edition</edition> <price>1500</price> <ISBN>978-81-203-3904-1</ISBN> </book> <book> <name>PHP and MySQL Web Development</name> <author>Luke Welling and Laura Thomson</author> <edition>4th Edition</edition> <price>1200</price> <ISBN>672-32672-8</ISBN> </book> <book> <name>Rapid …

Member Avatar for iceandrews
0
127
Member Avatar for aplh_ucsc

Hi All.. I'm writting my own replacements for the memory allocation/deallocation routines malloc() and free().In that file i'm using some variable names.. So after getting the header file, how can i use those previous variable names which i declared in mymalloc programme in any programme. In my main programme i …

Member Avatar for aplh_ucsc
0
107
Member Avatar for aplh_ucsc

hey guys! I need to know how to use pthreads with mutex to protect the critical section!!

Member Avatar for aplh_ucsc
0
69