Ahsaniqbalkmc
Members-
Content Count
800 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Ahsaniqbalkmc
-
Wordpress Vs Your Own Cms
Ahsaniqbalkmc replied to Ahsaniqbalkmc's topic in Websites and Web Designing
Well I haven't experimented with this myself but it is something I read sometime ago. And I am quite sure that if you search for it, you would definitely find some answers to whether Page loading speed actually has any effect on SEO or not....I am sure that you would find an answer because you are so good at searching ( Reference: A Stable Webcam Spy Recorder ) Lol -
Strange Wallpaper Issue Vmware Lubuntu
Ahsaniqbalkmc replied to Ahsaniqbalkmc's topic in Websites and Web Designing
I am going to get a little off-topic here but I think it would be relevant here. The thing is that I like Linux mint more that Lubuntu (which I am currently using on vmware) and also more than Ubuntu. But the problem is that Linux mint on vmware is quite slow. In fact it is annoyingly slow so I had to look for something else and Lubuntu worked out for me.The thing I want to ask is: what are the optimum requirements to run Linux mint on vmware normally. Or in a broader view, how would I know the optimal requirements for any distro to run as a VM on Vmware. -
Well, what should I say.... Its absolutely great how you saved me a lot of trouble of searching for a solution myself. Thanks very much @manuleka..I will post how things went for me after I try it..
-
Oh..... how could I not see that. It so very basic..... Sometimes you are thinking that something hugely bad has happened and you focus your mind on advanced stuff (I am still thinking what could be advanced in this little program ) and originally the fault is very basic one.... Perfect example is the above one.Availing the opportunity here, why don't you tell me exactly what the error reporting by GCC said. And was there any reference to where the error exists.. ???
-
Yeah... Now I got the concept. Thanks for that.So the line return 0 makes sure that the program finished normally and more importantly it provides means to check whether the program exited normally or not.I must tell you that there are more naive questions like this one are going to come... so I hope you are ready....
-
Oh, I see...So there won't be any pain of OOP while I am learning C... Its good to hear...
-
So while going a bit further ahead with learning C, I have finally created a program that is displaying errors while compiling. However, the problem is that I don't understand what (and where) these errors are and consequently I cannot correct them.. So I thought why not get help from folks at Xisto... The compiler I am using is GCC on a Lubuntu VM. So the little program I have written looks something like this... #include <stdio.h>#define PI 22/7#define FRACTION 4.0f/3.0fint main(void) { printf "Program to calculate the volume of a sphere from radius \n\n\n"); float radius, volume; printf("Radius: "); scanf("%f", &radius); volume = FRACTION * PI * radius * radius * radius; printf ("Volume = %.1f\n", volume); return 0;} And when I try to compile it by using GCC, I get the following message.. (filename is q2.c) q2.c: In function ‘main’:q2.c:5:10: error: expected ‘;’ before string constantq2.c:5:74: error: expected statement before ‘)’ token First of all I need to know how is the "WHERE" part of the error presented in the above lines. I am assuming that it is in the "5:10:" and "5:74:" part of the statement but I am unable to understand what does it mean.. Secondly I need to know the "WHAT" part. that is what exactly is the error. I have gone through this little program 3 times but I haven't find the error.
-
Wow...Thanks @manuleka.. Looks like a heck of a project..For the time, I have bookmarked the page and I will give it a try as soon as I find some time for this little project of mine.Can you find something similar for me for windows OS....?
-
Strange Wallpaper Issue Vmware Lubuntu
Ahsaniqbalkmc replied to Ahsaniqbalkmc's topic in Websites and Web Designing
So two questions to follow: 1) How to make sure that it actually is what you say it is ? and 2) What is the solution ? No I don't have any other virtual machine running. It's just Lubuntu. Do you recommend trying another virtual machine specifically Ubuntu...? -
Wordpress Vs Your Own Cms
Ahsaniqbalkmc replied to Ahsaniqbalkmc's topic in Websites and Web Designing
No I am not worried about low speeds on my server. It is hosted by Xisto and I am pretty happy with their service. I was just trying to cover all the questions that arise in mind about the subject. I might never create my own minimalistic version of wordpress but I guess knowledge is always useful. And who knows someone mentions a very useful point related to the subject that is beneficial for all.....By the way, my interest in page loading speed is also due to the fact that quite some time ago I read somewhere on a website that Page loading speed is an important Factor in SEO. So...... -
There is some strange thing with me... I like reading books that I am not forced to read. When I am forced to read some book, I am just unable to spend enough time with it. It just annoys me so much....
-
The operating system is Lubuntu on a vmware and the compiler I am using is GCC.You explained it quite healthily but most of it got over my head. First of all, I don't understand why would a C program need and ERROR code to exit. Isn't their any better way. Secondly, if C program does need an error code to exit, why is that when the same error code is not supplied, the program behaves normally. I mean it should give some error etc to notify that an important component is missing.About the more advanced thing you mentioned @yordan... I really didn't understand it so can't say anything about that......
-
I do have some previous experience with OO programming in PHP but I have to admit that I am not good at it at all. I skipped most of it while I had the chance to learn it and I assume I will have to pay the price in terms of amount of time consumed when the OOP comes in C...Let's see what happens.
-
By the time I was learning PHP, I had only the knowledge of HTML and CSS. I had done some GW-Basic back at school but that was quite a long time ago.. So practically I was new at programming. And because of this, it took me quite long to understand the concept of programming.Now that I do know some of the basic concepts, shouldn't it be helping me in terms of reducing the amount of time required to get things straight with C.?
-
I have mentioned in another thread on this forum, that I have started learning C. (link : http://forums.xisto.com/topic/51673-learnin-python-where-to-start/ '>Learning Python -- where to start?) Don't get confused about the link saying "Learning PYTHON". Actually the story is that my ultimate goal is to learn C++ but I wanted to start with something simpler and I had Python in my mind for this. @yordan told me that instead of python I should go for C (instead of python) as the starting language for C++. I bought his suggestion and now I have started learning C. This thread is about a concept I am unable to act and it is not strictly about my first C program. About the concept I am not getting... My first C program looked something like this: # include <stdio.h>int main(void){printf("to c or not to c, this is the question; \n");return 0;} A fairly simple program... but I am not able to understand what exactly does the "return 0" does here.. I moved a step further in my second experiment and created a similar program but this time I didn't add the "return 0" line to it. And when I ran the program (of course after compiling.... ==> I am a noob) it returned the same result.. so what exactly is the role of this line in the program..
-
Wordpress Vs Your Own Cms
Ahsaniqbalkmc replied to Ahsaniqbalkmc's topic in Websites and Web Designing
Well, the website isn't heavy traffic at all so I guess I don't have to worry about the resources used by the platform...What about page loading speeds.... Suppose I delete all the unused stuff from the original wordpress and thus create a minimalistic version of it, would it improve page loading speeds...? -
Well during the process of learning HTML, CSS and PHP, I should have grabbed some basic concepts of programming. But I do believe that concepts in C (and C++) would be much vast than the web-based languages I have learned.Biggest problem with me is finding enough amount of time to spend on learning the language.. I am currently taken by so many things that it kind of gets hard some time...By the way, if I ask... how long should an average person take to learn a language like C....
-
I have a single virtual machine that is running almost all the time... There is only one main operating system (windows 7) properly installed on the hard drive. So my setup is basically a one host one guest setup... While I am working on my experiments either on the host or on the guest operating system, more often than not there comes a need to access files of one OS from within the other.For instance, I developed a test C program on the guest OS (Lubuntu) but I needed to get it open on my host OS to see how the C compiler works in windows 7. A similar situation can arise when I have created something in the Host (Windows 7) OS and I want to see how it behaves in the Linux (host OS)....What method do you recommend for me to access files for such requirements and setup....
-
Unfortunately unfortunately, past month and half has passed on me like if I was in a prison. The medical exams are a bit too tough and requires extreme hard work.. So sometimes days would pass before I even turn my computer on.... let alone searching for something on the internet..And now when the exam is finished, I have so many things to do that it is very difficult to spare time for things that can wait.... So it would be very very easy if someone here directly pointed me to the right software.... that is ready to be used....
-
Strange Wallpaper Issue Vmware Lubuntu
Ahsaniqbalkmc replied to Ahsaniqbalkmc's topic in Websites and Web Designing
Yes I have successfully installed the vmware tools on the machine. And it is a "Lubuntu" machine to be exact.... if that makes any difference.. Yes, but why is the wallpaper tiled... I mean the image itself is not small. It is larger than the resolution of the screen so why does the system tiles it..... -
Software To Automatically Copy All Data From Usb Stick
Ahsaniqbalkmc replied to Ahsaniqbalkmc's topic in Software
Now I have started to get some idea of how it is going to work... I will spare some time for this little project and see how it goes... thanks @yordan for the link... and the tutorial as well.. -
I have set up lubuntu on vmware as the experimental lab for my C learning. The setup I have created is that I have two monitors. The primary one has windows 7 running on it and on the secondary monitor there is Lubuntu VM running in full screen mode. I have installed vmware tools and the OS is operating nicely and smoothly except one small issue... Every time I restart my Lubuntu virtual machine, the wallpaper gets distorted in a strange way.. See the image below... The original resolution of the vmware machine was 640 x 480 and this is also the resolution of the image at the loading screen. So I am assuming that somehow the default resolution has been set to this value and each time the VM reboots the wallpaper is made to set for this resolution and then is enlarged (which happens by repeating by sides).... Can anyone help me on this ???
-
Well, I am a lazy person even the thought of locking my room 30 times a day (and obviously unlocking it for the same number of times) gives me headache. I like my stuff ready for use all the time. I don't like to arrange them again and again... So probably I won't go for this kind of solution.