When I start evolution from the terminal I get this: (evolution:3265): GLib-GObject-CRITICAL **: Object class EMFolderTree doesn't implement property 'paste-target-list' from interface 'ESelectable' The program still starts though. I am fairly new to Ubuntu.
I'm not really a C++ noob at all, but I am a little rusty at the moment. Still, I CANNOT figure out what is wrong with the following code. I'm using Visual Studio 2010.
I THINK I got all of the pertinent code. Anyway, it fails at the *** line. I CANNOT figure out why. If I modify it to be linein.size()-30, it STILL gives me an error. That makes zero sense.
I am trying to simulate a shell. So what I do is checking of having the parameters from standard input, suc as "/bin/ls -l /home/france/Documents", and then passing them to function execute, which at some point calls execvp(argv[0],argv)The problem is that I don't succeed in using these arguments, while if I call execvp(paramList[0],paramList) it works!!!! Where paramList is exactly what I would put on standard input, but defined statically.
im trying to build a simple program for my C programming class, this is the source code
#include <stdio.h> int main() { int length, width, length, height, area, perimeter; perimeter = width + length + height; area = width * length + heigth;
[Code]...
i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?
I have a partially completed interpreter that has first-calss functions and can store scopes in variables. That way it is possible to implement a simple class like this:
Code:
MyClass = func () { value = 0; setValue = func (x) value = x;;
[code]....
But what about inheritance, and what if I want to know the type of the object?
I am doing real time programming in C++, under Linux. I have two processes, let me say A and B. A process is being started periodically, every 5ms. B process is being started every 10ms. The process A is doing data processing. The process B is reading that data and displays it. I am confused about how to run periodically processes. The problem is that the period of process A should be as much as it is possible accurate (5ms). For the process B it isn't so important. I have created independent processes, each in one .cpp file, and I am starting them from bash file. Is that OK? I don't have to make child processes in order to have parallel processes?
So basically, there is a really cool writing system I have been working on. It could be viewed (for simplification purposes) like an encryption method for the Latin script.
Facts about the writing system: It has a little over 300 symbols. It is syllable-driven. It is highly compositional (eg. "c", "ca", "cae", "ca " and "ci." all map to different symbols - and NOT by overlaying elements) Symbols have medium graphical complexity (comparable to Korean Hangul, or Japanese Hiragana) Has a rather complex set of diacritics (~10, some of which can go on any symbol) Has no ligatures
How transliteration occurs: Sequences of Latin symbols map to certain symbols. Example below:[G][rou][p ][hu][g.]Characters sequences between "[" and "]" map to a single symbol (so it would take only 5 symbols to write "Group hug.").
How I want it to work: I would like to have a daemon that: Intercepts all text displayed on the screen. Converts it to my writing system (changes letter sequences with individual Unicode codes) Leaves unsupported symbols unchanged. Displays all the text on the screen using my font and characters intertwined with the fonts and characters left unchanged.
For example, if you take the following line of C++ code:for (i = 1; i <= n; i++) I would like it displayed like this:[fo][r ]([i ]= [1]; [i ]<= [n]; [i]++) Bold-symbols should be in my Unicode font with special symbols defined for this writing system, and the rest should be in its original font and encoding. Also, I would like this encoding to hold for display-purposes only. The data in the memory should remain unaffected. This also means real-time adjustments: if I open a text editor (say, from the OpenOffice Suite) and I start typing, I would like to see what I type encoded with my writing system, even though the document actually contains Latin letters. This also means that the symbol immediately before the cursor may change as you type.
I developed a protocol "it's a modification of OLSR" for wireless networks, it was with JAVA and I try to simulate it on NS2, I used AgentJ, so in the TCL I did any thing like usual;
set val(chan) Channel/WirelessChannel ;# channel type set val(prop)Propagation/TwoRayGround ;# radio-propagation model set val(netif) Phy/WirelessPhy ;# network interface type
[code]....
and I didn't specified the protocol because I attached my nodes to the JAVA class responsible for the protocol, but when I run it generates errors, it claims the protocol to use, so I don't know how proceeding.
I implemented a SSL client using openssl on Linux and it's working fine i am getting response from server...
But my problem is I have a separate thread for each request comes form front end and i have to do SSL communication in each thread, for this i have to create a separate SSL Context for each thread and this is taking too much time hence my transaction is getting delayed
My question is can we implement Persistent SSL connection where i will do SSL Handshake only at the time of application startup and use that connection in all the threads....
I have a problem with compiling vdrift-2009-06-15 using scons. As the source that i obtained only supports scons i cannot use make. the error that i get when i try to compile it in GNOME Terminal is: scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead. File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 9, in <module>
scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead. File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 13, in <module> Checking for C++ header file asio.hpp... (cached) yes Checking for C++ header file boost/bind.hpp... (cached) yes Checking for C++ header file GL/gl.h... (cached) yes Checking for C++ header file GL/glu.h... (cached) yes Checking for C++ header file SDL/SDL.h... (cached) yes [Code]........
I have an interpteter that supports string literals, and the way it works is that the lexer returns the entire string as a single token, with the quotes removed and escape sequences replaced with the literal characters they represent.
I already implemented single-quote strings, they don't interpret any characters specially except for the single quote. I partially implemented double-quoted strings, they already support all the same backslash escape sequences that C does. But I would also want to add variable substitution.
The way it would work is that "${expression}" would interpret the expression (which could just be a variable name) and replace itself with the result. But I have no idea how to do this.
In case it matters, I'm using a hand-written lexer and recursive-descent parser.
I need to implement SAML 1.1 SSO process in Php(Preferred), Java, or C# I am having a very difficult time finding information related to this task. If I could use SAML 2.0 I would be home free with "Simple Saml Php" but I am not that lucky. Would the process be as simple as building the SAML in XML then submitting it with a SoapClient? According to the Docs I've read that would appear to work.
how to implement inheritance an polymorphism in plain C. Most of them do this through function pointers.However I'd like to support multiple inheritance.
I'd like to implement a dynamic menu which will allow me to specify an IP address and read it into memory. This is what I've got so far (it's fairly basic...)
Code: IPS=`ifconfig -a | grep 'inet addr:' | awk '{print $2}' | tr -d "addr:"` PS3='Select an option and press Enter: ' select i in $IPS do case $i in $i) echo $IPS;; esac done echo $IPS
At the moment it just says "Which IP would you like to use" and then freezes, most success I've had is it showing all the IP's listed in ifconfig and then showing the same menu.
I'm implementing a TCP protocol. TCP implementation requires to send packets continuously and if the receiver doesnt respond after a particular interval of time it should resend the packet again. I need some method to implement a timer expiry function. How can I implement it? Should i implement threads (If yes can you please give a sample)? or is there any better method? I'm implementing it in a Unix system.
I'm struggling with the issue of passing a vector of a class to itself, here's what state its in now... (tried many variations, but without direction).
I wish to implement some part of my codes to use the GPU of my graphic card but I have no idea whether GNU as already implemented it (as for OpenMP). I mean, there are PGI Fortran compiler which embedded CUDA but I figure it's not free. I also wonder if that works only with ATI graphic cards or if for instance I can use my Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller.
I am trying to make a periodic boundary condition type function, using an existing class given to me in lecture notes, but am having some trouble! Effectively, I am trying to make an array such that, for a point in any row of a 2D matrix ("Matrix(i,j)"), the command "next_i[i]" will return "(i+1)%L", where L is the number of data points in the row. This will enable me to select a point to the right of any point in the matrix: "Matrix(next[i],j)"