CryptochildXR's Profile
Reputation: 0
Apprentice
- Group:
- Members
- Active Posts:
- 15 (0.01 per day)
- Joined:
- 29-January 10
- Profile Views:
- 1,445
- Last Active:
Apr 11 2013 11:02 AM- Currently:
- Offline
Previous Fields
- Country:
- SA
- OS Preference:
- Windows
- Favorite Browser:
- Chrome
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- Playstation
- Your Car:
- BMW
- Dream Kudos:
- 0
Latest Visitors
-
macosxnerd101 
23 Sep 2011 - 06:40 -
X@MPP 
13 Sep 2011 - 21:37 -
CodingSup3rna... 
02 Jul 2011 - 15:31 -
ragingben 
09 Jun 2011 - 06:06 -
DXDenton 
10 May 2011 - 18:03
Posts I've Made
-
In Topic: Linker Error--Problem compiling this to work
Posted 17 Oct 2011
My bad...They were not even in a project file, they were all seperate thank you -
In Topic: Linker Error--Problem compiling this to work
Posted 17 Oct 2011
OH Sorry Here's the third
#include"clib.h" #include<iostream> #include<string> #include<fstream> #include<cassert> using namespace std; int main(){ Cstash intStash, stringStash; int i; char* cp; ifstream in; string line; const int bufSize = 80; initialise(&intStash, sizeof(int)); for(i = 0; i < 0; i++) add(&intStash, &i); for(i = 0; i < count(&intStash); i++) cout <<"fetch(&intStash, << i >>) = " << *(int*)fetch(&intStash, i)<<endl; initialise(&stringStash, sizeof(char)*bufSize); in.open("clibTest.cpp"); assert(in); while(getline(in, line)) add(&stringStash, line.c_str()); i = 0; while((cp = (char*)fetch(&stringStash, i++)) !=0) cout <<"fetch(&stringStash, << i <<) = " << cp << endl; cleanup(&intStash); cleanup(&stringStash); system("PAUSE"); return 0; }
and the error reads:
C:\Windows\Temp\ccklbaaa.o(.text+0x1c1) In function `main':
[Linker error] undefined reference to `initialise(cStashTag*, int)'
[Linker error] undefined reference to `add(cStashTag*, void const*)'
[Linker error] undefined reference to `count(cStashTag*)'
...
C:\Windows\Temp\ccklbaaa.o(.text+0x1c1) ld returned 1 exit status -
In Topic: I have a SUPER NOOB question...
Posted 25 Aug 2011
why run it on cmd the simplest way is to run the python shell press ctrl+o the browse through till you find the file you want then open. open it then press f5 -
In Topic: Trying to make a simple GUI
Posted 24 Aug 2011
clearly Frame is an external module so then it means that it is not imported -
In Topic: Single-Line Print Delay
Posted 24 Aug 2011
I've noticed something in your code, there's a place where you the '.split()'
from time import sleep t1 = "Uh" t2 = ". . ." t2s = t2.split() #this is redundant print(t1) for d in t2s: sleep(1) print(d) print(" I need to take a shower.")
a string is afterall an array of characters so the following code will have sufficed
from time import sleep t1 = "Uh" t2 = ". . ." print(t1) for d in range(len(t2)): sleep(1) print(t2[d-1], end=" ") print(" I need to take a shower.")
where d staores the length of a string that contains ". . ." which is 5 and since a computer counts from 0 then the fifth element will be indexed 4 therefore [d-1]
My Information
- Member Title:
- New D.I.C Head
- Age:
- 22 years old
- Birthday:
- September 21, 1990
- Gender:
-
- Location:
- WHo cares
- Interests:
- gaming, programming, guitar, anime, money, how things work
- Full Name:
- xolani
- Years Programming:
- 3
- Programming Languages:
-
Python
C++
Java
VB.Net
Contact Information
- E-mail:
- Click here to e-mail me
Friends
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
CryptochildXR has no profile comments yet. Why not say hello?